Class: Threatstack::Rule

Inherits:
Object
  • Object
show all
Includes:
Serializable
Defined in:
lib/threatstack/entities/rule.rb

Instance Attribute Summary

Attributes included from Serializable

#client, #raw

Instance Method Summary collapse

Methods included from Serializable

#attrs, #camelize, 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

#rulesetObject



10
11
12
# File 'lib/threatstack/entities/rule.rb', line 10

def ruleset
  client.ruleset(ruleset_id)
end