class Crunchbase::Model::Investment

Constants

RESOURCE_LIST

Attributes

announced_on[R]
announced_on_trust_code[R]
created_at[R]
funding_round[R]
funding_round_total_items[R]
investors[R]
investors_total_items[R]
is_lead_investor[R]
money_invested[R]
money_invested_currency_code[R]
money_invested_usd[R]
partners[R]
partners_total_items[R]
updated_at[R]

Public Class Methods

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

Public Instance Methods

date_keys() click to toggle source
# File lib/crunchbase/model/investment.rb, line 24
def date_keys
  %w(announced_on)
end
property_keys() click to toggle source
# File lib/crunchbase/model/investment.rb, line 17
def property_keys
  %w(
    money_invested money_invested_currency_code money_invested_usd created_at updated_at
    is_lead_investor
  )
end
relationship_lists() click to toggle source
# File lib/crunchbase/model/investment.rb, line 28
def relationship_lists
  {
    'funding_round' => FundingRound,
    'investors' => Organization,
    'partners' => Person
  }
end