Class: Threatstack::Rule

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

#original_ruleObject



8
9
10
# File 'lib/threatstack/entities/rule.rb', line 8

def original_rule
  Rule.new(raw['original_rule'])
end