Class: Threatstack::Alert::Response

Inherits:
Object
  • Object
show all
Includes:
Serializable
Defined in:
lib/threatstack/alert/response.rb

Instance Attribute Summary

Attributes included from Serializable

#raw

Instance Method Summary collapse

Methods included from Serializable

#attrs, included, #initialize, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Threatstack::Serializable

Instance Method Details

#alertsObject



10
11
12
# File 'lib/threatstack/alert/response.rb', line 10

def alerts
  raw.map{ |a| Alert.new(a) }
end