class LibTAD::Places::LocationRef
Information about a location referenced by a region.
Attributes
id[R]
@return [String] The ID of the location.
name[R]
@return [String] The name of the location.
state[R]
@return [State] The state of the location within the country (only if applicable).
Public Class Methods
new(hash)
click to toggle source
# File lib/types/places/location_ref.rb, line 17 def initialize(hash) @id = hash.fetch('id', nil) @name = hash.fetch('name', nil) @state = hash.fetch('state', nil) end