Class: Threatstack::Policy::Response

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

#policiesObject



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

def policies
  raw.map{ |a| Policy.new(a) }
end