Sha256: 93a8698436c3d4da15f8ec5534c680ebfb1b855e707a8a5acb644f3196fe57a4
Contents?: true
Size: 779 Bytes
Versions: 21
Compression:
Stored size: 779 Bytes
Contents
module LocalProcedure def execute_local_procedure_v2(id, params = [], options = {}) parameters = { 'ProcedureId' => id.to_s, 'ParameterValues' => params, } options.merge!(basic_auth: @auth, headers: @headers) options.merge!(:body => parameters.to_json) self.class.post(base_api_endpoint('Custom/Execute'), options) end def execute_local_procedure_with_multiple_result_sets(id, parameter_values = [], options = {}) parameters = { 'ProcedureId' => id.to_s, 'ParameterValues' => parameter_values, } options.merge!(basic_auth: @auth, headers: @headers) options.merge!(:body => parameters.to_json) self.class.post(base_api_endpoint('Custom/Execute/MultipleResultSets'), options) end end
Version data entries
21 entries across 21 versions & 1 rubygems