Class: Crunchbase::Model::Category
- Defined in:
- lib/crunchbase/model/category.rb
Constant Summary collapse
- RESOURCE_LIST =
RESOURCE_NAME = 'categories'.freeze
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#organizations_in_category ⇒ Object
readonly
Returns the value of attribute organizations_in_category.
-
#products_in_category ⇒ Object
readonly
Returns the value of attribute products_in_category.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#web_path ⇒ Object
readonly
Returns the value of attribute web_path.
Attributes inherited from Entity
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
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def created_at @created_at end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def name @name end |
#organizations_in_category ⇒ Object (readonly)
Returns the value of attribute organizations_in_category.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def organizations_in_category @organizations_in_category end |
#products_in_category ⇒ Object (readonly)
Returns the value of attribute products_in_category.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def products_in_category @products_in_category end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def updated_at @updated_at end |
#web_path ⇒ Object (readonly)
Returns the value of attribute web_path.
7 8 9 |
# File 'lib/crunchbase/model/category.rb', line 7 def web_path @web_path end |
Instance Method Details
#property_keys ⇒ Object
9 10 11 12 13 |
# File 'lib/crunchbase/model/category.rb', line 9 def property_keys %w( web_path name organizations_in_category products_in_category created_at updated_at ) end |