class Crunchbase::Model::Investor
Constants
- RESOURCE_LIST
Attributes
object[R]
Public Class Methods
new(json)
click to toggle source
# File lib/crunchbase/model/investor.rb, line 9 def initialize(json) instance_relationships_object(Person, 'object', json) if json['type'] == 'Person' instance_relationships_object(Organization, 'object', json) if json['type'] == 'Organization' end
Public Instance Methods
organization?()
click to toggle source
# File lib/crunchbase/model/investor.rb, line 18 def organization? (object.type_name == 'Organization') end
person?()
click to toggle source
# File lib/crunchbase/model/investor.rb, line 14 def person? (object.type_name == 'Person') end