Class: Warframe::Models::Nightwave

Inherits:
Base show all
Includes:
Attributes::Activation, Attributes::Expiry, Attributes::ID, Attributes::RewardTypes
Defined in:
lib/warframe/models/nightwave.rb

Overview

Nightwave data model. /:platform/nightwave

Instance Attribute Summary collapse

Attributes included from Attributes::RewardTypes

#reward_types

Attributes included from Attributes::Expiry

#expiry

Attributes included from Attributes::ID

#id

Attributes included from Attributes::Activation

#activation

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

#active_challengesArray<OpenStruct> (readonly)

Active Challenges for this event.

Returns:

  • (Array<OpenStruct>)


32
33
34
# File 'lib/warframe/models/nightwave.rb', line 32

def active_challenges
  @active_challenges
end

#phaseInteger (readonly)

The current phase of this event.

Returns:

  • (Integer)


16
17
18
# File 'lib/warframe/models/nightwave.rb', line 16

def phase
  @phase
end

#possible_challengesArray<OpenStruct> (readonly)

List of all possible challenges.

Returns:

  • (Array<OpenStruct>)


28
29
30
# File 'lib/warframe/models/nightwave.rb', line 28

def possible_challenges
  @possible_challenges
end

#seasonInteger (readonly)

The current Nightwave Season

Returns:

  • (Integer)


24
25
26
# File 'lib/warframe/models/nightwave.rb', line 24

def season
  @season
end

#tagString (readonly)

The current Nightwave Tag

Returns:

  • (String)


20
21
22
# File 'lib/warframe/models/nightwave.rb', line 20

def tag
  @tag
end