Class: Threatstack::Alert::Event

Inherits:
Object
  • Object
show all
Includes:
Serializable
Defined in:
lib/threatstack/alert/event.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

#user_identityObject



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

def user_identity
  UserIdentity.new(raw['userIdentity'])
end