class Crunchbase::Model::Ipo

Constants

RESOURCE_LIST

Attributes

api_path[R]
created_at[R]
funded_company[R]
images[R]
money_raised[R]
money_raised_currency_code[R]
money_raised_usd[R]
news[R]
opening_share_price[R]
opening_share_price_currency_code[R]
opening_share_price_usd[R]
opening_valuation[R]
opening_valuation_currency_code[R]
opening_valuation_usd[R]
shares_sold[R]
stock_exchange[R]
stock_exchange_symbol[R]
stock_symbol[R]
updated_at[R]
videos[R]
web_path[R]
went_public_on[R]
went_public_on_trust_code[R]

Public Class Methods

new(json) click to toggle source
Calls superclass method Crunchbase::Model::Entity::new
# File lib/crunchbase/model/ipo.rb, line 17
def initialize(json)
  super
end

Public Instance Methods

date_keys() click to toggle source
# File lib/crunchbase/model/ipo.rb, line 41
def date_keys
  %w(went_public_on)
end
property_keys() click to toggle source
# 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() click to toggle source
# File lib/crunchbase/model/ipo.rb, line 21
def relationship_lists
  {
    'funded_company' => Organization,
    'news' => New,
    'videos' => Video
  }
end