everything_location v0.0.1 EverythingLocation.Result

A struct for accessing the address result information

Summary

Functions

Takes a map from the EverythingLocation API results and casts them to a EverythingLocation.Result struct

Functions

create(params)

Specs

create(%{}) ::
  %EverythingLocation.Result{__meta__: term, administrative_area: term, certainty_percentage: term, city: term, country: term, country_alpha2: term, country_alpha3: term, formatted_address: term, id: term, postal_code: term, street: term, verified: term} |
  {:error, string}

Takes a map from the EverythingLocation API results and casts them to a EverythingLocation.Result struct