Class: Crunchbase::Model::Category

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

Constant Summary collapse

RESOURCE_LIST =
'categories'

Instance Attribute Summary collapse

Attributes inherited from Entity

#type_name, #uuid

Instance Method Summary collapse

Methods inherited from Entity

array_from_list, #fetch, funding_rounds_lists, get, #initialize, 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

#created_atObject (readonly)

Returns the value of attribute created_at.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def created_at
  @created_at
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def name
  @name
end

#organizations_in_categoryObject (readonly)

Returns the value of attribute organizations_in_category.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def organizations_in_category
  @organizations_in_category
end

#products_in_categoryObject (readonly)

Returns the value of attribute products_in_category.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def products_in_category
  @products_in_category
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def updated_at
  @updated_at
end

#web_pathObject (readonly)

Returns the value of attribute web_path.



8
9
10
# File 'lib/crunchbase/model/category.rb', line 8

def web_path
  @web_path
end

Instance Method Details

#property_keysObject



10
11
12
13
14
# File 'lib/crunchbase/model/category.rb', line 10

def property_keys
  %w[
    web_path name organizations_in_category products_in_category created_at updated_at
  ]
end