Class: Batchly::Response::DbResponse

Inherits:
IResponse
  • Object
show all
Defined in:
lib/batchly-sdk/response/db_response.rb

Overview

The DbResponse is a type of response when you want batchly to execute queries on destination database

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Unique id of the Unit of Work string



11
12
13
# File 'lib/batchly-sdk/response/db_response.rb', line 11

def id
  @id
end

#is_duplicateObject

Duplicate message that can be deleted without any post processing boolean



21
22
23
# File 'lib/batchly-sdk/response/db_response.rb', line 21

def is_duplicate
  @is_duplicate
end

#is_processing_successObject

Status of the processing boolean



14
15
16
# File 'lib/batchly-sdk/response/db_response.rb', line 14

def is_processing_success
  @is_processing_success
end

#parameter_valuesObject

Parameter Name and Data pair for each parameter of the SQL Query that is run on successful processing hashTable The query is configured as part of Batchly Portal and is run in sequence to ensure successful writes to the database.



18
19
20
# File 'lib/batchly-sdk/response/db_response.rb', line 18

def parameter_values
  @parameter_values
end