Class: Crunchbase::Model::New
- Defined in:
- lib/crunchbase/model/new.rb
Constant Summary collapse
- RESOURCE_LIST =
'news'.freeze
Instance Attribute Summary collapse
-
#author ⇒ Object
readonly
Returns the value of attribute author.
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#posted_on ⇒ Object
readonly
Returns the value of attribute posted_on.
-
#posted_on_trust_code ⇒ Object
readonly
Returns the value of attribute posted_on_trust_code.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Attributes inherited from Entity
Instance Method Summary collapse
Methods inherited from Entity
#convert_date!, #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
#author ⇒ Object (readonly)
Returns the value of attribute author.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def @author end |
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def created_at @created_at end |
#posted_on ⇒ Object (readonly)
Returns the value of attribute posted_on.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def posted_on @posted_on end |
#posted_on_trust_code ⇒ Object (readonly)
Returns the value of attribute posted_on_trust_code.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def posted_on_trust_code @posted_on_trust_code end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def title @title end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def type @type end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def updated_at @updated_at end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
7 8 9 |
# File 'lib/crunchbase/model/new.rb', line 7 def url @url end |
Instance Method Details
#date_keys ⇒ Object
15 16 17 |
# File 'lib/crunchbase/model/new.rb', line 15 def date_keys %w(posted_on) end |
#property_keys ⇒ Object
9 10 11 12 13 |
# File 'lib/crunchbase/model/new.rb', line 9 def property_keys %w( title author posted_on posted_on_trust_code url created_at updated_at type ) end |