Class: Crunchbase::Model::Fund

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

Constant Summary collapse

RESOURCE_LIST =
'funds'.freeze

Instance Attribute Summary collapse

Attributes inherited from Entity

#type_name, #uuid

Instance Method Summary collapse

Methods inherited from Entity

#convert_date!, #fetch, #initialize, #instance_multi_relationship_objects, #instance_relationships_object, #instance_timestamps, #one_to_many, #one_to_one, #parse_hash_items, #relationship_lists, #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

This class inherits a constructor from Crunchbase::Model::Entity

Instance Attribute Details

#announced_onObject (readonly)

Returns the value of attribute announced_on.



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

def announced_on
  @announced_on
end

#announced_on_trust_codeObject (readonly)

Returns the value of attribute announced_on_trust_code.



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

def announced_on_trust_code
  @announced_on_trust_code
end

#api_pathObject (readonly)

Returns the value of attribute api_path.



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

def api_path
  @api_path
end

#created_atObject (readonly)

Returns the value of attribute created_at.



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

def created_at
  @created_at
end

#money_raisedObject (readonly)

Returns the value of attribute money_raised.



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

def money_raised
  @money_raised
end

#money_raised_currency_codeObject (readonly)

Returns the value of attribute money_raised_currency_code.



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

def money_raised_currency_code
  @money_raised_currency_code
end

#money_raised_usdObject (readonly)

Returns the value of attribute money_raised_usd.



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

def money_raised_usd
  @money_raised_usd
end

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#web_pathObject (readonly)

Returns the value of attribute web_path.



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

def web_path
  @web_path
end

Instance Method Details

#date_keysObject



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

def date_keys
  %w(announced_on)
end

#property_keysObject



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

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