class Crunchbase::Model::Job

Constants

RESOURCE_LIST

Attributes

created_at[R]

Attributes

ended_on[R]

Attributes

ended_on_trust_code[R]

Attributes

job_type[R]

Attributes

organization[R]

Relationships

person[R]

Relationships

started_on[R]

Attributes

started_on_trust_code[R]

Attributes

title[R]

Attributes

updated_at[R]

Attributes

Public Class Methods

new(json) click to toggle source
Calls superclass method Crunchbase::Model::Entity::new
# File lib/crunchbase/model/job.rb, line 14
def initialize(json)
  super
end

Public Instance Methods

date_keys() click to toggle source
# File lib/crunchbase/model/job.rb, line 31
def date_keys
  %w[started_on ended_on]
end
property_keys() click to toggle source
# File lib/crunchbase/model/job.rb, line 25
def property_keys
  %w[
    title job_type started_on started_on_trust_code ended_on ended_on_trust_code created_at updated_at
  ]
end
relationship_lists() click to toggle source
# File lib/crunchbase/model/job.rb, line 18
def relationship_lists
  {
    'person' => Person,
    'organization' => Organization
  }
end