Class: Crunchbase::Model::Address
- Defined in:
- lib/crunchbase/model/address.rb
Direct Known Subclasses
Constant Summary collapse
- RESOURCE_LIST =
'addresses'.freeze
Instance Attribute Summary collapse
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#city_web_path ⇒ Object
readonly
Returns the value of attribute city_web_path.
-
#country ⇒ Object
readonly
Returns the value of attribute country.
-
#country_code2 ⇒ Object
readonly
Returns the value of attribute country_code2.
-
#country_code3 ⇒ Object
readonly
Returns the value of attribute country_code3.
-
#country_web_path ⇒ Object
readonly
Returns the value of attribute country_web_path.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#latitude ⇒ Object
readonly
Returns the value of attribute latitude.
-
#longitude ⇒ Object
readonly
Returns the value of attribute longitude.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#postal_code ⇒ Object
readonly
Returns the value of attribute postal_code.
-
#region ⇒ Object
readonly
Returns the value of attribute region.
-
#region_code2 ⇒ Object
readonly
Returns the value of attribute region_code2.
-
#region_web_path ⇒ Object
readonly
Returns the value of attribute region_web_path.
-
#street_1 ⇒ Object
readonly
Returns the value of attribute street_1.
-
#street_2 ⇒ Object
readonly
Returns the value of attribute street_2.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#convert_date!, #date_keys, #fetch, #initialize, #instance_multi_relationship_objects, #instance_relationships_object, #instance_timestamps, #one_to_many, #one_to_one, #parse_hash_items, #relationship_lists, #set_relationships_object, #set_variables, #setup_relationships_data!, #special_relationship, #verify_item?
Methods included from Request::Client
#api, #array_from_list, #funding_rounds_lists, #get, #kclass_name, #list, #organization_lists, #parsing_from_list, #person_lists, #total_items_from_list
Constructor Details
This class inherits a constructor from Crunchbase::Model::Entity
Instance Attribute Details
#city ⇒ Object (readonly)
Returns the value of attribute city.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def city @city end |
#city_web_path ⇒ Object (readonly)
Returns the value of attribute city_web_path.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def city_web_path @city_web_path end |
#country ⇒ Object (readonly)
Returns the value of attribute country.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def country @country end |
#country_code2 ⇒ Object (readonly)
Returns the value of attribute country_code2.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def country_code2 @country_code2 end |
#country_code3 ⇒ Object (readonly)
Returns the value of attribute country_code3.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def country_code3 @country_code3 end |
#country_web_path ⇒ Object (readonly)
Returns the value of attribute country_web_path.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def country_web_path @country_web_path end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def created_at @created_at end |
#latitude ⇒ Object (readonly)
Returns the value of attribute latitude.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def latitude @latitude end |
#longitude ⇒ Object (readonly)
Returns the value of attribute longitude.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def longitude @longitude end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def name @name end |
#postal_code ⇒ Object (readonly)
Returns the value of attribute postal_code.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def postal_code @postal_code end |
#region ⇒ Object (readonly)
Returns the value of attribute region.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def region @region end |
#region_code2 ⇒ Object (readonly)
Returns the value of attribute region_code2.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def region_code2 @region_code2 end |
#region_web_path ⇒ Object (readonly)
Returns the value of attribute region_web_path.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def region_web_path @region_web_path end |
#street_1 ⇒ Object (readonly)
Returns the value of attribute street_1.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def street_1 @street_1 end |
#street_2 ⇒ Object (readonly)
Returns the value of attribute street_2.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def street_2 @street_2 end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/crunchbase/model/address.rb', line 7 def updated_at @updated_at end |
Instance Method Details
#property_keys ⇒ Object
10 11 12 13 14 15 |
# File 'lib/crunchbase/model/address.rb', line 10 def property_keys %w( name street_1 street_2 postal_code city city_web_path region region_code2 region_web_path country country_code2 country_code3 country_web_path latitude longitude created_at updated_at ) end |