Class: IAuditor::Template

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

Instance Method Summary collapse

Methods included from BaseModules::Methods

included, #initialize

Instance Method Details

#search(options = {}) ⇒ Object

Retrieving all audits with the given search criteria



7
8
9
10
11
# File 'lib/iAuditor/template.rb', line 7

def search(options={})
  @options.merge!(query: options) if options.present?
  @templates = self.class.get("/templates/search", @options)
  @templates.parsed_response
end