Class: Crunchbase::Model::CurrentTeam

Inherits:
Job
  • Object
show all
Defined in:
lib/crunchbase/model/current_team.rb

Constant Summary collapse

RESOURCE_LIST =
'current_team'.freeze

Instance Attribute Summary collapse

Attributes inherited from Job

#created_at, #ended_on, #ended_on_trust_code, #job_type, #organization, #started_on, #started_on_trust_code, #title, #updated_at

Attributes inherited from Entity

#type_name, #uuid

Instance Method Summary collapse

Methods inherited from Job

#date_keys, #property_keys

Methods inherited from Entity

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

#initialize(json) ⇒ CurrentTeam

Returns a new instance of CurrentTeam.



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

def initialize(json)
  super
end

Instance Attribute Details

#personObject (readonly)

Returns the value of attribute person.



7
8
9
# File 'lib/crunchbase/model/current_team.rb', line 7

def person
  @person
end

Instance Method Details

#relationship_listsObject



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

def relationship_lists
  {
    'person' => Person
  }
end