Class: IControl::ARX::Policy
- Inherits:
-
Base
- Object
- Base
- IControl::ARX::Policy
- Defined in:
- lib/icontrol/arx/policy.rb,
lib/icontrol/arx.rb
Overview
The Policy Interface allows applications to retrieve ARX policy information.
Instance Method Summary collapse
-
#definition(opts) ⇒ PolicyDefinition
Returns the details of this policies.
-
#list(opts) ⇒ String
Returns the list of policies for this namespac and volume.
-
#schedule(opts) ⇒ PolicySchedule
Returns the details of this schedule.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#definition(opts) ⇒ PolicyDefinition
Returns the details of this policies.
15 16 17 18 |
# File 'lib/icontrol/arx/policy.rb', line 15 def definition(opts) opts = check_params(opts,[:volume,:policies]) super(opts) end |
#list(opts) ⇒ String
Returns the list of policies for this namespac and volume.
26 27 28 29 |
# File 'lib/icontrol/arx/policy.rb', line 26 def list(opts) opts = check_params(opts,[:volume]) super(opts) end |
#schedule(opts) ⇒ PolicySchedule
Returns the details of this schedule.
37 38 39 40 |
# File 'lib/icontrol/arx/policy.rb', line 37 def schedule(opts) opts = check_params(opts,[:schedule]) super(opts) end |