Class: Threatstack::Log::Response

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

#logsObject



9
10
11
# File 'lib/threatstack/log/response.rb', line 9

def logs
  raw.map{ |a| Log.new(a) }
end