Class: Cloudpassage::FirewallPolicy

Inherits:
Single show all
Defined in:
lib/cloudpassage/firewall_policies.rb

Instance Attribute Summary

Attributes inherited from Single

#id

Instance Method Summary collapse

Methods inherited from Single

#destroy, #get, #initialize

Methods inherited from Base

#[], #data, #exists?, #headers, #initialize, #method_missing, #object_symbol, #post, #put, #reload, #wait_for

Constructor Details

This class inherits a constructor from Cloudpassage::Single

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Cloudpassage::Base

Instance Method Details

#rulesObject



13
14
15
# File 'lib/cloudpassage/firewall_policies.rb', line 13

def rules
  FirewallRules.new(token, base_resource['firewall_rules'])
end