Method: Crunchbase::FirmRelationship#initialize
- Defined in:
- lib/crunchbase/relationships/firm_relationship.rb
#initialize(hash) ⇒ FirmRelationship
Returns a new instance of FirmRelationship.
10 11 12 13 14 15 |
# File 'lib/crunchbase/relationships/firm_relationship.rb', line 10 def initialize(hash) super(hash) @firm_name = hash["firm"]["name"] @firm_permalink = hash["firm"]["permalink"] @firm_type = hash["firm"]["type_of_entity"] end |