Class: Batchly::Response::DefaultResponse

Inherits:
IResponse
  • Object
show all
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

Instance Attribute Details

#idObject

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_duplicateObject

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_successObject

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