class Crunchbase::Product
Constants
- RESOURCE_FIND
- RESOURCE_LIST
Attributes
created_at[R]
description[R]
homepage_url[R]
launched_on[R]
lifecycle_stage[R]
name[R]
owner_id[R]
permalink[R]
updated_at[R]
Public Class Methods
get(permalink)
click to toggle source
# File lib/crunchbase-api/product.rb, line 18 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/product.rb, line 22 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/product.rb, line 35 def date_keys %w[launched_on] end
property_keys()
click to toggle source
# File lib/crunchbase-api/product.rb, line 28 def property_keys %w[ lifecycle_stage owner_id description permalink homepage_url name launched_on created_at updated_at ] end