Class: Warframe::Models::Invasion
- Inherits:
-
Base
- Object
- ObjectifiedHash
- Base
- Warframe::Models::Invasion
- Includes:
- Attributes::Activation, Attributes::Description, Attributes::ETA, Attributes::Expiry, Attributes::ID, Attributes::RewardTypes, Attributes::StartString
- Defined in:
- lib/warframe/models/invasion.rb
Overview
Invasion data model. /:platform/invasions
Instance Attribute Summary collapse
-
#attacker ⇒ OpenStruct
readonly
Attacking faction data.
-
#attacker_reward ⇒ OpenStruct
readonly
The rewards for helping the attacking faction.
-
#attacking_faction ⇒ String
readonly
Attacking Faction Name.
-
#completed ⇒ Boolean
(also: #completed?)
readonly
Whether or not the invasion has been completed.
-
#completion ⇒ Array<Float>
readonly
The status of completion of the invasion.
-
#defender ⇒ OpenStruct
readonly
Defending faction data.
-
#defender_reward ⇒ OpenStruct
readonly
The rewards for helping the defending faction.
-
#defending_faction ⇒ String
readonly
The name of the defending faction.
-
#node ⇒ String
readonly
The name of the node of the invasion.
-
#node_key ⇒ String
readonly
The key of the node.
-
#required_runs ⇒ Integer
readonly
The amount of runs required for completion.
Attributes included from Attributes::StartString
Attributes included from Attributes::RewardTypes
Attributes included from Attributes::Description
Attributes included from Attributes::ETA
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
#attacker ⇒ OpenStruct (readonly)
Attacking faction data.
19 20 21 |
# File 'lib/warframe/models/invasion.rb', line 19 def attacker @attacker end |
#attacker_reward ⇒ OpenStruct (readonly)
The rewards for helping the attacking faction.
23 24 25 |
# File 'lib/warframe/models/invasion.rb', line 23 def attacker_reward @attacker_reward end |
#attacking_faction ⇒ String (readonly)
Attacking Faction Name
27 28 29 |
# File 'lib/warframe/models/invasion.rb', line 27 def attacking_faction @attacking_faction end |
#completed ⇒ Boolean (readonly) Also known as: completed?
Whether or not the invasion has been completed.
31 32 33 |
# File 'lib/warframe/models/invasion.rb', line 31 def completed @completed end |
#completion ⇒ Array<Float> (readonly)
The status of completion of the invasion.
36 37 38 |
# File 'lib/warframe/models/invasion.rb', line 36 def completion @completion end |
#defender ⇒ OpenStruct (readonly)
Defending faction data.
40 41 42 |
# File 'lib/warframe/models/invasion.rb', line 40 def defender @defender end |
#defender_reward ⇒ OpenStruct (readonly)
The rewards for helping the defending faction.
44 45 46 |
# File 'lib/warframe/models/invasion.rb', line 44 def defender_reward @defender_reward end |
#defending_faction ⇒ String (readonly)
The name of the defending faction.
48 49 50 |
# File 'lib/warframe/models/invasion.rb', line 48 def defending_faction @defending_faction end |
#node ⇒ String (readonly)
The name of the node of the invasion.
52 53 54 |
# File 'lib/warframe/models/invasion.rb', line 52 def node @node end |
#node_key ⇒ String (readonly)
The key of the node.
56 57 58 |
# File 'lib/warframe/models/invasion.rb', line 56 def node_key @node_key end |
#required_runs ⇒ Integer (readonly)
The amount of runs required for completion.
60 61 62 |
# File 'lib/warframe/models/invasion.rb', line 60 def required_runs @required_runs end |