Class: Fog::Network::StormOnDemand::Ruleset

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/network/storm_on_demand/models/ruleset.rb

Instance Method Summary collapse

Instance Method Details

#update(rules) ⇒ Object



11
12
13
14
15
# File 'lib/fog/network/storm_on_demand/models/ruleset.rb', line 11

def update(rules)
  requires :ruleset
  service.update_ruleset(:ruleset => ruleset, :rules => rules)
  true
end