Module: Selligent::Client::StoredProcedures

Included in:
Selligent::Client
Defined in:
lib/selligent/client/stored_procedures.rb

Overview

Implements the stored procedures endpoints

/organizations/:organization/storedprocedures/*

Instance Method Summary collapse

Instance Method Details

#stored_procedure(name) ⇒ Object

Get details of a stored procedure

Parameters:

  • name (String)

    Name of the stored procedure



21
22
23
# File 'lib/selligent/client/stored_procedures.rb', line 21

def stored_procedure(name)
  get "#{base_url}/storedprocedures/#{name}"
end

#stored_procedures(options = {}) ⇒ Object

Get stored procedures defined in the given organization

Parameters:

  • options (Hash) (defaults to: {})

    Additional options

Options Hash (options):

  • :filter (String)

    Filter by type

  • :search (String)

    Search by name or description



14
15
16
# File 'lib/selligent/client/stored_procedures.rb', line 14

def stored_procedures(options = {})
  get "#{base_url}/storedprocedures", options
end