Class: IAuditor::Actions
- Inherits:
-
Object
- Object
- IAuditor::Actions
- Includes:
- BaseModules::Methods
- Defined in:
- lib/iAuditor/actions.rb
Instance Method Summary collapse
- #create(options) ⇒ Object
- #fetch(action_id) ⇒ Object
-
#search(options = {}) ⇒ Object
Retrieving actions.
- #update(options) ⇒ Object
Methods included from BaseModules::Methods
Instance Method Details
#create(options) ⇒ Object
17 18 19 |
# File 'lib/iAuditor/actions.rb', line 17 def create() end |
#fetch(action_id) ⇒ Object
13 14 15 |
# File 'lib/iAuditor/actions.rb', line 13 def fetch(action_id) @audits = self.class.get("/actions/#{action_id}", @options) end |
#search(options = {}) ⇒ Object
Retrieving actions
8 9 10 11 |
# File 'lib/iAuditor/actions.rb', line 8 def search(={}) @options.merge!(body: .to_json) if .present? @actions = self.class.post("/actions/search", @options) end |
#update(options) ⇒ Object
21 22 23 |
# File 'lib/iAuditor/actions.rb', line 21 def update() end |