Class: Crunchbase::Model::PersonSummary

Inherits:
Entity
  • Object
show all
Defined in:
lib/crunchbase/model/person_summary.rb

Instance Attribute Summary collapse

Attributes inherited from Entity

#type_name, #uuid

Instance Method Summary collapse

Methods inherited from Entity

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

This class inherits a constructor from Crunchbase::Model::Entity

Instance Attribute Details

#api_pathObject (readonly)

Returns the value of attribute api_path.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def api_path
  @api_path
end

#city_nameObject (readonly)

Returns the value of attribute city_name.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def city_name
  @city_name
end

#country_codeObject (readonly)

Returns the value of attribute country_code.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def country_code
  @country_code
end

#created_atObject (readonly)

Returns the value of attribute created_at.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def created_at
  @created_at
end

#facebook_urlObject (readonly)

Returns the value of attribute facebook_url.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def facebook_url
  @facebook_url
end

#first_nameObject (readonly)

Returns the value of attribute first_name.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def first_name
  @first_name
end

#homepage_urlObject (readonly)

Returns the value of attribute homepage_url.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def homepage_url
  @homepage_url
end

#last_nameObject (readonly)

Returns the value of attribute last_name.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def last_name
  @last_name
end

#linkedin_urlObject (readonly)

Returns the value of attribute linkedin_url.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def linkedin_url
  @linkedin_url
end

#organization_api_pathObject (readonly)

Returns the value of attribute organization_api_path.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def organization_api_path
  @organization_api_path
end

#organization_nameObject (readonly)

Returns the value of attribute organization_name.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def organization_name
  @organization_name
end

Returns the value of attribute organization_permalink.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def organization_permalink
  @organization_permalink
end

#organization_web_pathObject (readonly)

Returns the value of attribute organization_web_path.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def organization_web_path
  @organization_web_path
end

Returns the value of attribute permalink.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def permalink
  @permalink
end

#profile_image_urlObject (readonly)

Returns the value of attribute profile_image_url.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def profile_image_url
  @profile_image_url
end

#region_nameObject (readonly)

Returns the value of attribute region_name.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def region_name
  @region_name
end

#titleObject (readonly)

Returns the value of attribute title.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def title
  @title
end

#twitter_urlObject (readonly)

Returns the value of attribute twitter_url.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def twitter_url
  @twitter_url
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def updated_at
  @updated_at
end

#web_pathObject (readonly)

Returns the value of attribute web_path.



5
6
7
# File 'lib/crunchbase/model/person_summary.rb', line 5

def web_path
  @web_path
end

Instance Method Details

#property_keysObject



11
12
13
14
15
16
17
18
19
# File 'lib/crunchbase/model/person_summary.rb', line 11

def property_keys
  %w(
    permalink api_path web_path first_name last_name title
    organization_permalink organization_api_path organization_web_path organization_name
    profile_image_url homepage_url facebook_url twitter_url linkedin_url
    city_name region_name country_code
    created_at updated_at
  )
end