Class: Crunchbase::Model::Fund

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

Constant Summary collapse

RESOURCE_LIST =
'funds'

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

#announced_onObject (readonly)

Returns the value of attribute announced_on.



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

def announced_on
  @announced_on
end

#announced_on_trust_codeObject (readonly)

Returns the value of attribute announced_on_trust_code.



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

def announced_on_trust_code
  @announced_on_trust_code
end

#api_pathObject (readonly)

Returns the value of attribute api_path.



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

def api_path
  @api_path
end

#created_atObject (readonly)

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#money_raisedObject (readonly)

Returns the value of attribute money_raised.



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

def money_raised
  @money_raised
end

#money_raised_currency_codeObject (readonly)

Returns the value of attribute money_raised_currency_code.



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

def money_raised_currency_code
  @money_raised_currency_code
end

#money_raised_usdObject (readonly)

Returns the value of attribute money_raised_usd.



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

def money_raised_usd
  @money_raised_usd
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#web_pathObject (readonly)

Returns the value of attribute web_path.



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

def web_path
  @web_path
end

Instance Method Details

#date_keysObject



21
22
23
# File 'lib/crunchbase/model/fund.rb', line 21

def date_keys
  %w[ announced_on ]
end

#property_keysObject

attr_reader :venture_firm_total_items, :investor_total_items, :images_total_items, :videos_total_items, :news_total_items



14
15
16
17
18
19
# File 'lib/crunchbase/model/fund.rb', line 14

def property_keys
  %w[
    api_path web_path name announced_on announced_on_trust_code 
    money_raised money_raised_currency_code money_raised_usd created_at updated_at
  ]
end