Class: Warframe::Models::Cetus
- Inherits:
-
Base
- Object
- ObjectifiedHash
- Base
- Warframe::Models::Cetus
- Includes:
- Attributes::Activation, Attributes::Expiry, Attributes::ID
- Defined in:
- lib/warframe/models/cetus.rb
Overview
Cetus data model. /:platform/cetusCycle
Instance Attribute Summary collapse
-
#is_cetus ⇒ Boolean
(also: #cetus?)
readonly
Whether or not this is Cetus.
-
#is_day ⇒ Boolean
(also: #day?)
readonly
Whether or not it is currently day.
-
#short_string ⇒ String
readonly
A short string of the time left until state change.
-
#state ⇒ String
readonly
Current world state of Cetus.
-
#time_left ⇒ String
readonly
Time left until state change.
Attributes included from Attributes::Expiry
Attributes included from Attributes::Activation
Attributes included from Attributes::ID
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
#is_cetus ⇒ Boolean (readonly) Also known as: cetus?
Whether or not this is Cetus.
24 25 26 |
# File 'lib/warframe/models/cetus.rb', line 24 def is_cetus @is_cetus end |
#is_day ⇒ Boolean (readonly) Also known as: day?
Whether or not it is currently day.
15 16 17 |
# File 'lib/warframe/models/cetus.rb', line 15 def is_day @is_day end |
#short_string ⇒ String (readonly)
A short string of the time left until state change.
33 34 35 |
# File 'lib/warframe/models/cetus.rb', line 33 def short_string @short_string end |
#state ⇒ String (readonly)
Current world state of Cetus.
20 21 22 |
# File 'lib/warframe/models/cetus.rb', line 20 def state @state end |
#time_left ⇒ String (readonly)
Time left until state change.
29 30 31 |
# File 'lib/warframe/models/cetus.rb', line 29 def time_left @time_left end |