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

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

#idString (readonly)

The id of the Alert.

Returns:

  • (String)


17
18
19
# File 'lib/warframe/models/alert.rb', line 17

def id
  @id
end

#missionOpenStruct (readonly)

The mission data of this alert.

Returns:

  • (OpenStruct)


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

def mission
  @mission
end