Class: Crunchbase::Model::Address

Inherits:
Entity
  • Object
show all
Defined in:
lib/crunchbase/model/address.rb

Direct Known Subclasses

Headquarter, Office

Constant Summary collapse

RESOURCE_LIST =
'addresses'

Instance Attribute Summary collapse

Attributes inherited from Entity

#type_name, #uuid

Instance Method Summary collapse

Methods inherited from Entity

array_from_list, #fetch, funding_rounds_lists, get, #initialize, 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

#cityObject (readonly)

Returns the value of attribute city.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def city
  @city
end

#city_web_pathObject (readonly)

Returns the value of attribute city_web_path.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def city_web_path
  @city_web_path
end

#countryObject (readonly)

Returns the value of attribute country.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def country
  @country
end

#country_web_pathObject (readonly)

Returns the value of attribute country_web_path.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def country_web_path
  @country_web_path
end

#created_atObject (readonly)

Returns the value of attribute created_at.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def created_at
  @created_at
end

#latitudeObject (readonly)

Returns the value of attribute latitude.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def latitude
  @latitude
end

#longitudeObject (readonly)

Returns the value of attribute longitude.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def longitude
  @longitude
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def name
  @name
end

#regionObject (readonly)

Returns the value of attribute region.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def region
  @region
end

#region_web_pathObject (readonly)

Returns the value of attribute region_web_path.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def region_web_path
  @region_web_path
end

#street_1Object (readonly)

Returns the value of attribute street_1.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def street_1
  @street_1
end

#street_2Object (readonly)

Returns the value of attribute street_2.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def street_2
  @street_2
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



8
9
10
# File 'lib/crunchbase/model/address.rb', line 8

def updated_at
  @updated_at
end

Instance Method Details

#property_keysObject



12
13
14
15
16
17
# File 'lib/crunchbase/model/address.rb', line 12

def property_keys
  %w[
    name street_1 street_2 city city_web_path region region_web_path 
    country country_web_path latitude longitude created_at updated_at
  ]
end