Class: Gaptool::AddserviceCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Gaptool::AddserviceCommand
- Defined in:
- lib/gaptool-client.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
277 278 279 280 281 282 283 284 |
# File 'lib/gaptool-client.rb', line 277 def execute if enabled? en = 1 else en = 0 end puts $api.addservice(role, environment, name, eval(keys), weight, en) end |