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.
18 19 20 |
# File 'lib/crunchbase/model/ipo.rb', line 18 def initialize(json) super end |
Instance Attribute Details
#api_path ⇒ Object (readonly)
Returns the value of attribute api_path.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def api_path @api_path end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def created_at @created_at end |
#funded_company ⇒ Object (readonly)
Returns the value of attribute funded_company.
16 17 18 |
# File 'lib/crunchbase/model/ipo.rb', line 16 def funded_company @funded_company end |
#images ⇒ Object (readonly)
Returns the value of attribute images.
16 17 18 |
# File 'lib/crunchbase/model/ipo.rb', line 16 def images @images end |
#money_raised ⇒ Object (readonly)
Returns the value of attribute money_raised.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def money_raised @money_raised end |
#money_raised_currency_code ⇒ Object (readonly)
Returns the value of attribute money_raised_currency_code.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def money_raised_currency_code @money_raised_currency_code end |
#money_raised_usd ⇒ Object (readonly)
Returns the value of attribute money_raised_usd.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def money_raised_usd @money_raised_usd end |
#news ⇒ Object (readonly)
Returns the value of attribute news.
16 17 18 |
# File 'lib/crunchbase/model/ipo.rb', line 16 def news @news end |
#opening_share_price ⇒ Object (readonly)
Returns the value of attribute opening_share_price.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 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.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 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.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def opening_share_price_usd @opening_share_price_usd end |
#opening_valuation ⇒ Object (readonly)
Returns the value of attribute opening_valuation.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def opening_valuation @opening_valuation end |
#opening_valuation_currency_code ⇒ Object (readonly)
Returns the value of attribute opening_valuation_currency_code.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def opening_valuation_currency_code @opening_valuation_currency_code end |
#opening_valuation_usd ⇒ Object (readonly)
Returns the value of attribute opening_valuation_usd.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def opening_valuation_usd @opening_valuation_usd end |
#shares_sold ⇒ Object (readonly)
Returns the value of attribute shares_sold.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def shares_sold @shares_sold end |
#stock_exchange ⇒ Object (readonly)
Returns the value of attribute stock_exchange.
16 17 18 |
# File 'lib/crunchbase/model/ipo.rb', line 16 def stock_exchange @stock_exchange end |
#stock_exchange_symbol ⇒ Object (readonly)
Returns the value of attribute stock_exchange_symbol.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def stock_exchange_symbol @stock_exchange_symbol end |
#stock_symbol ⇒ Object (readonly)
Returns the value of attribute stock_symbol.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def stock_symbol @stock_symbol end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def updated_at @updated_at end |
#videos ⇒ Object (readonly)
Returns the value of attribute videos.
16 17 18 |
# File 'lib/crunchbase/model/ipo.rb', line 16 def videos @videos end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def web_path @web_path end |
#went_public_on ⇒ Object (readonly)
Returns the value of attribute went_public_on.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 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.
8 9 10 |
# File 'lib/crunchbase/model/ipo.rb', line 8 def went_public_on_trust_code @went_public_on_trust_code end |
Instance Method Details
#date_keys ⇒ Object
42 43 44 |
# File 'lib/crunchbase/model/ipo.rb', line 42 def date_keys %w(went_public_on) end |
#property_keys ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/crunchbase/model/ipo.rb', line 30 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
22 23 24 25 26 27 28 |
# File 'lib/crunchbase/model/ipo.rb', line 22 def relationship_lists { 'funded_company' => Organization, 'news' => New, 'videos' => Video } end |