Class: Crunchbase::Model::PastTeam
- Defined in:
- lib/crunchbase/model/past_team.rb
Constant Summary collapse
- RESOURCE_LIST =
'past_team'.freeze
Instance Attribute Summary collapse
-
#person ⇒ Object
readonly
Returns the value of attribute person.
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
Instance Method Summary collapse
-
#initialize(json) ⇒ PastTeam
constructor
A new instance of PastTeam.
- #relationship_lists ⇒ Object
Methods inherited from Job
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) ⇒ PastTeam
Returns a new instance of PastTeam.
9 10 11 |
# File 'lib/crunchbase/model/past_team.rb', line 9 def initialize(json) super end |
Instance Attribute Details
#person ⇒ Object (readonly)
Returns the value of attribute person.
7 8 9 |
# File 'lib/crunchbase/model/past_team.rb', line 7 def person @person end |
Instance Method Details
#relationship_lists ⇒ Object
13 14 15 16 17 |
# File 'lib/crunchbase/model/past_team.rb', line 13 def relationship_lists { 'person' => Person } end |