Class: WormlyAPI
Instance Method Summary collapse
- #enable_host_hm_linux(id, agenturl) ⇒ Object
-
#initialize(key) ⇒ WormlyAPI
constructor
A new instance of WormlyAPI.
Constructor Details
#initialize(key) ⇒ WormlyAPI
Returns a new instance of WormlyAPI.
10 11 12 13 |
# File 'lib/slugly/wormly_api.rb', line 10 def initialize(key) super() @key = key end |
Instance Method Details
#enable_host_hm_linux(id, agenturl) ⇒ Object
15 16 17 |
# File 'lib/slugly/wormly_api.rb', line 15 def enable_host_hm_linux(id, agenturl) query('enableHostHMLinux', {:hostid => id, :agenturl => agenturl}) end |