Class: Warframe::Models::News
- Inherits:
-
Base
- Object
- ObjectifiedHash
- Base
- Warframe::Models::News
- Includes:
- Attributes::ETA, Attributes::ID, Attributes::Translations
- Defined in:
- lib/warframe/models/news.rb
Overview
News data model. /:platform/news
Instance Attribute Summary collapse
-
#as_string ⇒ String
readonly
The entire response as a long string.
-
#date ⇒ String
readonly
The date the news was released.
-
#image_link ⇒ String
readonly
The image link from the news page.
-
#link ⇒ String
readonly
Link for more information on this news.
-
#prime_access ⇒ Boolean
(also: #prime_access?)
readonly
Whether or not the news has to do with Prime Access.
-
#priority ⇒ Boolean
(also: #priority?)
readonly
Whether or not this news is of priority.
-
#stream ⇒ Boolean
(also: #stream?)
readonly
Whether or not a DEV stream is available.
-
#update ⇒ Boolean
(also: #update?)
readonly
Whether or not this news is regarding an update.
Attributes included from Attributes::ID
Attributes included from Attributes::ETA
Attributes included from Attributes::Translations
Method Summary
Methods inherited from ObjectifiedHash
#[], from_array, #initialize, #inspect, #size, #to_hash, #to_s
Constructor Details
This class inherits a constructor from Warframe::Models::ObjectifiedHash
Instance Attribute Details
#as_string ⇒ String (readonly)
The entire response as a long string.
47 48 49 |
# File 'lib/warframe/models/news.rb', line 47 def as_string @as_string end |
#date ⇒ String (readonly)
The date the news was released.
15 16 17 |
# File 'lib/warframe/models/news.rb', line 15 def date @date end |
#image_link ⇒ String (readonly)
The image link from the news page.
19 20 21 |
# File 'lib/warframe/models/news.rb', line 19 def image_link @image_link end |
#link ⇒ String (readonly)
Link for more information on this news.
23 24 25 |
# File 'lib/warframe/models/news.rb', line 23 def link @link end |
#prime_access ⇒ Boolean (readonly) Also known as: prime_access?
Whether or not the news has to do with Prime Access.
27 28 29 |
# File 'lib/warframe/models/news.rb', line 27 def prime_access @prime_access end |
#priority ⇒ Boolean (readonly) Also known as: priority?
Whether or not this news is of priority.
42 43 44 |
# File 'lib/warframe/models/news.rb', line 42 def priority @priority end |
#stream ⇒ Boolean (readonly) Also known as: stream?
Whether or not a DEV stream is available.
32 33 34 |
# File 'lib/warframe/models/news.rb', line 32 def stream @stream end |
#update ⇒ Boolean (readonly) Also known as: update?
Whether or not this news is regarding an update.
37 38 39 |
# File 'lib/warframe/models/news.rb', line 37 def update @update end |