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