Class: 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
Attributes inherited from Base
Method Summary
Methods inherited from Base
Constructor Details
This class inherits a constructor from Warframe::Models::Base
Instance Attribute Details
#attacker ⇒ OpenStruct (readonly)
Attacking faction data.
27 28 29 |
# File 'lib/warframe/models/invasion.rb', line 27 def attacker @attacker end |
#attacker_reward ⇒ OpenStruct (readonly)
The rewards for helping the attacking faction.
31 32 33 |
# File 'lib/warframe/models/invasion.rb', line 31 def attacker_reward @attacker_reward end |
#attacking_faction ⇒ String (readonly)
Attacking Faction Name
35 36 37 |
# File 'lib/warframe/models/invasion.rb', line 35 def attacking_faction @attacking_faction end |
#completed ⇒ Boolean (readonly) Also known as: completed?
Whether or not the invasion has been completed.
39 40 41 |
# File 'lib/warframe/models/invasion.rb', line 39 def completed @completed end |
#completion ⇒ Array<Float> (readonly)
The status of completion of the invasion.
44 45 46 |
# File 'lib/warframe/models/invasion.rb', line 44 def completion @completion end |
#defender ⇒ OpenStruct (readonly)
Defending faction data.
48 49 50 |
# File 'lib/warframe/models/invasion.rb', line 48 def defender @defender end |
#defender_reward ⇒ OpenStruct (readonly)
The rewards for helping the defending faction.
52 53 54 |
# File 'lib/warframe/models/invasion.rb', line 52 def defender_reward @defender_reward end |
#defending_faction ⇒ String (readonly)
The name of the defending faction.
56 57 58 |
# File 'lib/warframe/models/invasion.rb', line 56 def defending_faction @defending_faction end |
#node ⇒ String (readonly)
The name of the node of the invasion.
60 61 62 |
# File 'lib/warframe/models/invasion.rb', line 60 def node @node end |
#node_key ⇒ String (readonly)
The key of the node.
64 65 66 |
# File 'lib/warframe/models/invasion.rb', line 64 def node_key @node_key end |
#required_runs ⇒ Integer (readonly)
The amount of runs required for completion.
68 69 70 |
# File 'lib/warframe/models/invasion.rb', line 68 def required_runs @required_runs end |