Class: Warframe::Models::Alert

Overview

Model for Alert data. /:platform/alerts

Instance Attribute Summary collapse

Attributes included from Warframe::Models::Attributes::StartString

#start_string

Attributes included from Warframe::Models::Attributes::RewardTypes

#reward_types

Attributes included from Warframe::Models::Attributes::ETA

#eta

Attributes included from Warframe::Models::Attributes::Active

#active

Attributes included from Warframe::Models::Attributes::Expired

#expired

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

#idString (readonly)

The id of the Alert.

Returns:

  • (String)


23
24
25
# File 'lib/warframe/models/alert.rb', line 23

def id
  @id
end

#missionOpenStruct (readonly)

The mission data of this alert.

Returns:

  • (OpenStruct)


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

def mission
  @mission
end