Class: Warframe::Models::VallisCycle
- Inherits:
-
Base
- Object
- ObjectifiedHash
- Base
- Warframe::Models::VallisCycle
- Includes:
- Attributes::Activation, Attributes::Expiry, Attributes::ID
- Defined in:
- lib/warframe/models/vallis_cycle.rb
Overview
Model for VallisCycle data. /:platform/vallisCycle
Instance Attribute Summary collapse
-
#is_warm ⇒ Boolean
(also: #is_warm?)
readonly
Whether or not it currently is warm.
-
#is_warm?= ⇒ Boolean
Whether or not it currently is warm.
-
#short_string ⇒ String
The time remaining until state change.
-
#state ⇒ String
The current world state (Cold or Warm).
-
#time_left ⇒ String
Time left until next cycle.
Attributes included from Attributes::Activation
Attributes included from Attributes::Expiry
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_warm ⇒ Boolean (readonly) Also known as: is_warm?
Returns whether or not it currently is warm.
19 20 21 |
# File 'lib/warframe/models/vallis_cycle.rb', line 19 def is_warm @is_warm end |
#is_warm?=(value) ⇒ Boolean
Returns whether or not it currently is warm.
19 |
# File 'lib/warframe/models/vallis_cycle.rb', line 19 attr_reader :is_warm |
#short_string ⇒ String
Returns the time remaining until state change. Ex: ‘5m to Warm`.
28 29 30 |
# File 'lib/warframe/models/vallis_cycle.rb', line 28 def short_string @short_string end |
#state ⇒ String
Returns the current world state (Cold or Warm).
24 25 26 |
# File 'lib/warframe/models/vallis_cycle.rb', line 24 def state @state end |
#time_left ⇒ String
Returns time left until next cycle.
15 16 17 |
# File 'lib/warframe/models/vallis_cycle.rb', line 15 def time_left @time_left end |