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
287 288 289 290 291 292 293 294 |
# File 'lib/gaptool-client.rb', line 287 def execute if enabled? en = 1 else en = 0 end puts $api.addservice(role, environment, name, eval(keys), weight, en) end |