class Crunchbase::Person

Constants

RESOURCE_FIND
RESOURCE_LIST

Attributes

bio[R]
born_on[R]
created_at[R]
died_on[R]
first_name[R]
founded_companies[R]
is_deceased[R]
last_name[R]
location_uuid[R]
updated_at[R]

Public Class Methods

get(permalink) click to toggle source
# File lib/crunchbase-api/person.rb, line 21
def self.get(permalink)
  self.fetch_one permalink
end
list(page = 1, order = ORDER_CREATED_AT_DESC) click to toggle source
# File lib/crunchbase-api/person.rb, line 25
def self.list(page = 1, order = ORDER_CREATED_AT_DESC)
  self.fetch_list page, order
end

Private Instance Methods

date_keys() click to toggle source
# File lib/crunchbase-api/person.rb, line 37
def date_keys
  %w[born_on died_on]
end
property_keys() click to toggle source
# File lib/crunchbase-api/person.rb, line 31
def property_keys
  %w[
    first_name last_name permalink bio born_on died_on is_deceased location_uuid created_at updated_at
  ]
end
relationships() click to toggle source
# File lib/crunchbase-api/person.rb, line 41
def relationships
  %w[founded_companies]
end