Class: Batchly::Response::IResponse

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

Overview

This is the basic interface for returning the values post processing Use the implemented classes for returning the right type of bootstrapping by the batchly agent Supported implementations are:-

  • DefaultResponse

  • FileResponse

  • DbResponse

Direct Known Subclasses

DbResponse, DefaultResponse, FileResponse

Instance Attribute Summary collapse

Instance Attribute Details

#idObject

Unique id of the Unit of Work



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

def id
  @id
end

#is_duplicateObject

Duplicate message that can be deleted without any post processing



20
21
22
# File 'lib/batchly-sdk/response/iresponse.rb', line 20

def is_duplicate
  @is_duplicate
end

#is_processing_successObject

Status of the processing



17
18
19
# File 'lib/batchly-sdk/response/iresponse.rb', line 17

def is_processing_success
  @is_processing_success
end