Class: Crunchbase::Model::Ipo
- Defined in:
- lib/crunchbase/model/ipo.rb
Constant Summary collapse
- RESOURCE_LIST =
RESOURCE_NAME = 'ipos'.freeze
Instance Attribute Summary collapse
-
#api_path ⇒ Object
readonly
Returns the value of attribute api_path.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#funded_company ⇒ Object
readonly
Returns the value of attribute funded_company.
-
#images ⇒ Object
readonly
Returns the value of attribute images.
-
#money_raised ⇒ Object
readonly
Returns the value of attribute money_raised.
-
#money_raised_currency_code ⇒ Object
readonly
Returns the value of attribute money_raised_currency_code.
-
#money_raised_usd ⇒ Object
readonly
Returns the value of attribute money_raised_usd.
-
#news ⇒ Object
readonly
Returns the value of attribute news.
-
#opening_share_price ⇒ Object
readonly
Returns the value of attribute opening_share_price.
-
#opening_share_price_currency_code ⇒ Object
readonly
Returns the value of attribute opening_share_price_currency_code.
-
#opening_share_price_usd ⇒ Object
readonly
Returns the value of attribute opening_share_price_usd.
-
#opening_valuation ⇒ Object
readonly
Returns the value of attribute opening_valuation.
-
#opening_valuation_currency_code ⇒ Object
readonly
Returns the value of attribute opening_valuation_currency_code.
-
#opening_valuation_usd ⇒ Object
readonly
Returns the value of attribute opening_valuation_usd.
-
#shares_sold ⇒ Object
readonly
Returns the value of attribute shares_sold.
-
#stock_exchange ⇒ Object
readonly
Returns the value of attribute stock_exchange.
-
#stock_exchange_symbol ⇒ Object
readonly
Returns the value of attribute stock_exchange_symbol.
-
#stock_symbol ⇒ Object
readonly
Returns the value of attribute stock_symbol.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#videos ⇒ Object
readonly
Returns the value of attribute videos.
-
#web_path ⇒ Object
readonly
Returns the value of attribute web_path.
-
#went_public_on ⇒ Object
readonly
Returns the value of attribute went_public_on.
-
#went_public_on_trust_code ⇒ Object
readonly
Returns the value of attribute went_public_on_trust_code.
Attributes inherited from Entity
Instance Method Summary collapse
- #date_keys ⇒ Object
-
#initialize(json) ⇒ Ipo
constructor
A new instance of Ipo.
- #property_keys ⇒ Object
- #relationship_lists ⇒ Object
Methods inherited from Entity
#convert_date!, #fetch, #instance_multi_relationship_objects, #instance_relationships_object, #instance_timestamps, #one_to_many, #one_to_one, #parse_hash_items, #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) ⇒ Ipo
Returns a new instance of Ipo.
17 18 19 |
# File 'lib/crunchbase/model/ipo.rb', line 17 def initialize(json) super end |
Instance Attribute Details
#api_path ⇒ Object (readonly)
Returns the value of attribute api_path.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def api_path @api_path end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def created_at @created_at end |
#funded_company ⇒ Object (readonly)
Returns the value of attribute funded_company.
15 16 17 |
# File 'lib/crunchbase/model/ipo.rb', line 15 def funded_company @funded_company end |
#images ⇒ Object (readonly)
Returns the value of attribute images.
15 16 17 |
# File 'lib/crunchbase/model/ipo.rb', line 15 def images @images end |
#money_raised ⇒ Object (readonly)
Returns the value of attribute money_raised.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def money_raised @money_raised end |
#money_raised_currency_code ⇒ Object (readonly)
Returns the value of attribute money_raised_currency_code.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def money_raised_currency_code @money_raised_currency_code end |
#money_raised_usd ⇒ Object (readonly)
Returns the value of attribute money_raised_usd.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def money_raised_usd @money_raised_usd end |
#news ⇒ Object (readonly)
Returns the value of attribute news.
15 16 17 |
# File 'lib/crunchbase/model/ipo.rb', line 15 def news @news end |
#opening_share_price ⇒ Object (readonly)
Returns the value of attribute opening_share_price.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_share_price @opening_share_price end |
#opening_share_price_currency_code ⇒ Object (readonly)
Returns the value of attribute opening_share_price_currency_code.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_share_price_currency_code @opening_share_price_currency_code end |
#opening_share_price_usd ⇒ Object (readonly)
Returns the value of attribute opening_share_price_usd.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_share_price_usd @opening_share_price_usd end |
#opening_valuation ⇒ Object (readonly)
Returns the value of attribute opening_valuation.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_valuation @opening_valuation end |
#opening_valuation_currency_code ⇒ Object (readonly)
Returns the value of attribute opening_valuation_currency_code.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_valuation_currency_code @opening_valuation_currency_code end |
#opening_valuation_usd ⇒ Object (readonly)
Returns the value of attribute opening_valuation_usd.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def opening_valuation_usd @opening_valuation_usd end |
#shares_sold ⇒ Object (readonly)
Returns the value of attribute shares_sold.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def shares_sold @shares_sold end |
#stock_exchange ⇒ Object (readonly)
Returns the value of attribute stock_exchange.
15 16 17 |
# File 'lib/crunchbase/model/ipo.rb', line 15 def stock_exchange @stock_exchange end |
#stock_exchange_symbol ⇒ Object (readonly)
Returns the value of attribute stock_exchange_symbol.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def stock_exchange_symbol @stock_exchange_symbol end |
#stock_symbol ⇒ Object (readonly)
Returns the value of attribute stock_symbol.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def stock_symbol @stock_symbol end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def updated_at @updated_at end |
#videos ⇒ Object (readonly)
Returns the value of attribute videos.
15 16 17 |
# File 'lib/crunchbase/model/ipo.rb', line 15 def videos @videos end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def web_path @web_path end |
#went_public_on ⇒ Object (readonly)
Returns the value of attribute went_public_on.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def went_public_on @went_public_on end |
#went_public_on_trust_code ⇒ Object (readonly)
Returns the value of attribute went_public_on_trust_code.
7 8 9 |
# File 'lib/crunchbase/model/ipo.rb', line 7 def went_public_on_trust_code @went_public_on_trust_code end |
Instance Method Details
#date_keys ⇒ Object
41 42 43 |
# File 'lib/crunchbase/model/ipo.rb', line 41 def date_keys %w(went_public_on) end |
#property_keys ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/crunchbase/model/ipo.rb', line 29 def property_keys %w( api_path web_path went_public_on went_public_on_trust_code stock_exchange_symbol stock_symbol shares_sold opening_share_price opening_share_price_currency_code opening_share_price_usd opening_valuation opening_valuation_currency_code opening_valuation_usd money_raised money_raised_currency_code money_raised_usd created_at updated_at ) end |
#relationship_lists ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/crunchbase/model/ipo.rb', line 21 def relationship_lists { 'funded_company' => Organization, 'news' => New, 'videos' => Video } end |