Class: IAuditor::Actions

Inherits:
Object
  • Object
show all
Includes:
BaseModules::Methods
Defined in:
lib/iAuditor/actions.rb

Instance Method Summary collapse

Methods included from BaseModules::Methods

included, #initialize

Instance Method Details

#create(options) ⇒ Object



17
18
19
# File 'lib/iAuditor/actions.rb', line 17

def create(options)

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={})
  @options.merge!(body: options.to_json) if options.present?
  @actions = self.class.post("/actions/search", @options)
end

#update(options) ⇒ Object



21
22
23
# File 'lib/iAuditor/actions.rb', line 21

def update(options)

end