Class: Warframe::Models::Nightwave

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

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

#active_challengesArray<OpenStruct> (readonly)

Active Challenges for this event.

Returns:

  • (Array<OpenStruct>)


37
38
39
# File 'lib/warframe/models/nightwave.rb', line 37

def active_challenges
  @active_challenges
end

#phaseInteger (readonly)

The current phase of this event.

Returns:

  • (Integer)


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

def phase
  @phase
end

#possible_challengesArray<OpenStruct> (readonly)

List of all possible challenges.

Returns:

  • (Array<OpenStruct>)


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

def possible_challenges
  @possible_challenges
end

#seasonInteger (readonly)

The current Nightwave Season

Returns:

  • (Integer)


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

def season
  @season
end

#tagString (readonly)

The current Nightwave Tag

Returns:

  • (String)


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

def tag
  @tag
end