Class: ACTV::Place
Instance Attribute Summary collapse
-
#addressLine1Txt ⇒ Object
(also: #address1)
readonly
Returns the value of attribute addressLine1Txt.
-
#addressLine2Txt ⇒ Object
(also: #address2)
readonly
Returns the value of attribute addressLine2Txt.
-
#cityName ⇒ Object
(also: #city)
readonly
Returns the value of attribute cityName.
-
#countryCode ⇒ Object
(also: #country_code)
readonly
Returns the value of attribute countryCode.
-
#countryName ⇒ Object
(also: #country)
readonly
Returns the value of attribute countryName.
-
#directionsTxt ⇒ Object
readonly
Returns the value of attribute directionsTxt.
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#localityName ⇒ Object
(also: #locality)
readonly
Returns the value of attribute localityName.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
-
#placeDsc ⇒ Object
(also: #description)
readonly
Returns the value of attribute placeDsc.
-
#placeGuid ⇒ Object
(also: #id)
readonly
Returns the value of attribute placeGuid.
-
#placeName ⇒ Object
(also: #name)
readonly
Returns the value of attribute placeName.
-
#placeUrlAdr ⇒ Object
(also: #url)
readonly
Returns the value of attribute placeUrlAdr.
-
#postalCode ⇒ Object
(also: #postal_code)
readonly
Returns the value of attribute postalCode.
-
#stateProvinceCode ⇒ Object
(also: #state)
readonly
Returns the value of attribute stateProvinceCode.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, #delete, from_response, #initialize, #memoize, #method_missing, object_attr_reader, #respond_to?, #to_hash, #update, uri_attr_reader
Constructor Details
This class inherits a constructor from ACTV::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ACTV::Base
Instance Attribute Details
#addressLine1Txt ⇒ Object (readonly) Also known as: address1
Returns the value of attribute addressLine1Txt.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def addressLine1Txt @addressLine1Txt end |
#addressLine2Txt ⇒ Object (readonly) Also known as: address2
Returns the value of attribute addressLine2Txt.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def addressLine2Txt @addressLine2Txt end |
#cityName ⇒ Object (readonly) Also known as: city
Returns the value of attribute cityName.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def cityName @cityName end |
#countryCode ⇒ Object (readonly) Also known as: country_code
Returns the value of attribute countryCode.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def countryCode @countryCode end |
#countryName ⇒ Object (readonly) Also known as: country
Returns the value of attribute countryName.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def countryName @countryName end |
#directionsTxt ⇒ Object (readonly)
Returns the value of attribute directionsTxt.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def directionsTxt @directionsTxt end |
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def latitude @latitude end |
#localityName ⇒ Object (readonly) Also known as: locality
Returns the value of attribute localityName.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def localityName @localityName end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def longitude @longitude end |
#placeDsc ⇒ Object (readonly) Also known as: description
Returns the value of attribute placeDsc.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def placeDsc @placeDsc end |
#placeGuid ⇒ Object (readonly) Also known as: id
Returns the value of attribute placeGuid.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def placeGuid @placeGuid end |
#placeName ⇒ Object (readonly) Also known as: name
Returns the value of attribute placeName.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def placeName @placeName end |
#placeUrlAdr ⇒ Object (readonly) Also known as: url
Returns the value of attribute placeUrlAdr.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def placeUrlAdr @placeUrlAdr end |
#postalCode ⇒ Object (readonly) Also known as: postal_code
Returns the value of attribute postalCode.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def postalCode @postalCode end |
#stateProvinceCode ⇒ Object (readonly) Also known as: state
Returns the value of attribute stateProvinceCode.
6 7 8 |
# File 'lib/actv/place.rb', line 6 def stateProvinceCode @stateProvinceCode end |
Instance Method Details
#has_lat_long? ⇒ Boolean
23 24 25 |
# File 'lib/actv/place.rb', line 23 def has_lat_long? latitude && longitude && latitude != "" && longitude != "" end |