class

Tourmaline::LocationAddress

Inherits JSON::Serializable < Reference < Object

Describes the physical address of a location.

Constructors

new(country_code : String, state : String | Nil = nil, city : String | Nil = nil, street : String | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

city

Optional. City of the location

Source
city=(city : String | Nil)

Optional. City of the location

Source
country_code

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located

Source
country_code=(country_code : String)

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located

Source
state

Optional. State of the location

Source
state=(state : String | Nil)

Optional. State of the location

Source
street

Optional. Street address of the location

Source
street=(street : String | Nil)

Optional. Street address of the location

Source