lib/crunchbase/investment.rb in crunchbase_v2-0.0.6 vs lib/crunchbase/investment.rb in crunchbase_v2-0.0.7
- old
+ new
@@ -2,10 +2,11 @@
# http://api.crunchbase.com/v/2/organization/facebook/investments
module Crunchbase
class Investment < CBEntity
+
RESOURCE_LIST = 'investments'
attr_reader :type_name, :money_invested, :money_invested_currency_code,
:money_invested_usd, :funding_round_path, :invested_in_type,
:invested_in_name, :invested_in_path
@@ -29,10 +30,9 @@
elsif json['investor']
@invested_in_type = json['investor'] && json['investor']['type']
@invested_in_name = json['investor'] && json['investor']['name']
@invested_in_path = json['investor'] && json['investor']['path']
end
-
end
end
end
\ No newline at end of file