Class: Warframe::Models::Invasion

Inherits:
Base
  • Object
show all
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

Attributes included from Attributes::StartString

#start_string

Attributes included from Attributes::RewardTypes

#reward_types

Attributes included from Attributes::Description

#description

Attributes included from Attributes::ETA

#eta

Attributes included from Attributes::Expiry

#expiry

Attributes included from Attributes::Activation

#activation

Attributes included from Attributes::ID

#id

Attributes inherited from Base

#code, #error

Method Summary

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Warframe::Models::Base

Instance Attribute Details

#attackerOpenStruct (readonly)

Attacking faction data.

Returns:

  • (OpenStruct)


27
28
29
# File 'lib/warframe/models/invasion.rb', line 27

def attacker
  @attacker
end

#attacker_rewardOpenStruct (readonly)

The rewards for helping the attacking faction.

Returns:

  • (OpenStruct)


31
32
33
# File 'lib/warframe/models/invasion.rb', line 31

def attacker_reward
  @attacker_reward
end

#attacking_factionString (readonly)

Attacking Faction Name

Returns:

  • (String)


35
36
37
# File 'lib/warframe/models/invasion.rb', line 35

def attacking_faction
  @attacking_faction
end

#completedBoolean (readonly) Also known as: completed?

Whether or not the invasion has been completed.

Returns:

  • (Boolean)


39
40
41
# File 'lib/warframe/models/invasion.rb', line 39

def completed
  @completed
end

#completionArray<Float> (readonly)

The status of completion of the invasion.

Returns:

  • (Array<Float>)


44
45
46
# File 'lib/warframe/models/invasion.rb', line 44

def completion
  @completion
end

#defenderOpenStruct (readonly)

Defending faction data.

Returns:

  • (OpenStruct)


48
49
50
# File 'lib/warframe/models/invasion.rb', line 48

def defender
  @defender
end

#defender_rewardOpenStruct (readonly)

The rewards for helping the defending faction.

Returns:

  • (OpenStruct)


52
53
54
# File 'lib/warframe/models/invasion.rb', line 52

def defender_reward
  @defender_reward
end

#defending_factionString (readonly)

The name of the defending faction.

Returns:

  • (String)


56
57
58
# File 'lib/warframe/models/invasion.rb', line 56

def defending_faction
  @defending_faction
end

#nodeString (readonly)

The name of the node of the invasion.

Returns:

  • (String)


60
61
62
# File 'lib/warframe/models/invasion.rb', line 60

def node
  @node
end

#node_keyString (readonly)

The key of the node.

Returns:

  • (String)


64
65
66
# File 'lib/warframe/models/invasion.rb', line 64

def node_key
  @node_key
end

#required_runsInteger (readonly)

The amount of runs required for completion.

Returns:

  • (Integer)


68
69
70
# File 'lib/warframe/models/invasion.rb', line 68

def required_runs
  @required_runs
end