Class: Onering::API::AutomationTasks
- Inherits:
-
Onering::API
- Object
- Onering::API
- Onering::API::AutomationTasks
- Defined in:
- lib/onering/plugins/automation.rb
Overview
Constant Summary
Constants inherited from Onering::API
DEFAULT_BASE, DEFAULT_CLIENT_KEY, DEFAULT_CLIENT_PEM, DEFAULT_PATH, DEFAULT_VALIDATION_PEM
Constants included from Util
Instance Attribute Summary
Attributes inherited from Onering::API
Instance Method Summary collapse
Methods inherited from Onering::API
#_default_param, #_setup_auth, #_setup_auth_token, #connect, #delete, #get, #initialize, #method_missing, #post, #put, #request, #status
Methods included from Util
#fact, #gem_path, #http_status, #make_filter
Constructor Details
This class inherits a constructor from Onering::API
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Onering::API
Instance Method Details
#run(name, options = {}) ⇒ Object
63 64 65 66 67 |
# File 'lib/onering/plugins/automation.rb', line 63 def run(name, ={}) get("/automation/tasks/#{name}/run", { :query => }).parsed_response end |