Class: Warframe::Models::Alert
- Inherits:
-
Base
- Object
- ObjectifiedHash
- Base
- Warframe::Models::Alert
- Includes:
- Warframe::Models::Attributes::Active, Warframe::Models::Attributes::ETA, Warframe::Models::Attributes::Expired, Warframe::Models::Attributes::RewardTypes, Warframe::Models::Attributes::StartString
- Defined in:
- lib/warframe/models/alert.rb
Overview
Model for Alert data. /:platform/alerts
Instance Attribute Summary collapse
-
#id ⇒ String
readonly
The id of the Alert.
-
#mission ⇒ OpenStruct
readonly
The mission data of this alert.
Attributes included from Warframe::Models::Attributes::StartString
Attributes included from Warframe::Models::Attributes::RewardTypes
Attributes included from Warframe::Models::Attributes::ETA
Attributes included from Warframe::Models::Attributes::Active
Attributes included from Warframe::Models::Attributes::Expired
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
#id ⇒ String (readonly)
The id of the Alert.
17 18 19 |
# File 'lib/warframe/models/alert.rb', line 17 def id @id end |
#mission ⇒ OpenStruct (readonly)
The mission data of this alert.
21 22 23 |
# File 'lib/warframe/models/alert.rb', line 21 def mission @mission end |