Class: Fog::Network::StormOnDemand::Ruleset
- Inherits:
-
Model
- Object
- Model
- Fog::Network::StormOnDemand::Ruleset
- Defined in:
- lib/fog/storm_on_demand/models/network/ruleset.rb
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ Ruleset
constructor
A new instance of Ruleset.
- #update(rules) ⇒ Object
Constructor Details
#initialize(attributes = {}) ⇒ Ruleset
Returns a new instance of Ruleset.
13 14 15 |
# File 'lib/fog/storm_on_demand/models/network/ruleset.rb', line 13 def initialize(attributes={}) super end |
Instance Method Details
#update(rules) ⇒ Object
17 18 19 20 21 |
# File 'lib/fog/storm_on_demand/models/network/ruleset.rb', line 17 def update(rules) requires :ruleset service.update_ruleset(:ruleset => ruleset, :rules => rules) true end |