Class: Crunchbase::Model::PrimaryLocation
- Defined in:
- lib/crunchbase/model/primary_location.rb
Constant Summary
Constants inherited from Location
Instance Attribute Summary collapse
-
#parent_locations ⇒ Object
readonly
Returns the value of attribute parent_locations.
Attributes inherited from Location
#city, #city_web_path, #continent, #continent_web_path, #country, #country_code2, #country_code3, #country_web_path, #created_at, #location_type, #name, #parent_location_uuid, #parent_locations_total_items, #region, #region_code2, #region_web_path, #updated_at, #web_path
Attributes inherited from Entity
Instance Method Summary collapse
-
#initialize(json) ⇒ PrimaryLocation
constructor
A new instance of PrimaryLocation.
- #relationship_lists ⇒ Object
Methods inherited from Location
Methods inherited from Entity
#convert_date!, #date_keys, #fetch, #instance_multi_relationship_objects, #instance_relationships_object, #instance_timestamps, #one_to_many, #one_to_one, #parse_hash_items, #property_keys, #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
#initialize(json) ⇒ PrimaryLocation
Returns a new instance of PrimaryLocation.
7 8 9 |
# File 'lib/crunchbase/model/primary_location.rb', line 7 def initialize(json) super end |
Instance Attribute Details
#parent_locations ⇒ Object (readonly)
Returns the value of attribute parent_locations.
5 6 7 |
# File 'lib/crunchbase/model/primary_location.rb', line 5 def parent_locations @parent_locations end |
Instance Method Details
#relationship_lists ⇒ Object
11 12 13 14 15 |
# File 'lib/crunchbase/model/primary_location.rb', line 11 def relationship_lists { 'parent_locations' => ParentLocation } end |