Packages

A PCA Predict API wrapper for Elixir.

Current section

Files

Jump to
pca_predict lib pca_predict geocode_item.ex
Raw

lib/pca_predict/geocode_item.ex

defmodule PCAPredict.GeocodeItem do
@moduledoc """
Struct for items returned from the API
The type is either `Address` or `Postcode`
"""
defstruct [:accuracy, :easting, :northing,
:latitude, :longitude, :location,
:os_grid]
use ExConstructor
end