Class: Batchly::Response::DefaultResponse
- Defined in:
- lib/batchly-sdk/response/default_response.rb
Overview
This is the minimal response to return when the processing doesn’t generate any output that requires processing by batchly agent The is_processing_success represents status of processing. boolean
true for success and false for failure The is_duplicate field represents duplicate tracking if state is managed by processor. The id should equal the request id
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique id of the Unit of Work
string
. -
#is_duplicate ⇒ Object
Duplicate message that can be deleted without any post processing
boolean
. -
#is_processing_success ⇒ Object
Status of the processing
boolean
.
Instance Attribute Details
#id ⇒ Object
Unique id of the Unit of Work string
14 15 16 |
# File 'lib/batchly-sdk/response/default_response.rb', line 14 def id @id end |
#is_duplicate ⇒ Object
Duplicate message that can be deleted without any post processing boolean
20 21 22 |
# File 'lib/batchly-sdk/response/default_response.rb', line 20 def is_duplicate @is_duplicate end |
#is_processing_success ⇒ Object
Status of the processing boolean
17 18 19 |
# File 'lib/batchly-sdk/response/default_response.rb', line 17 def is_processing_success @is_processing_success end |