Class: CzechPostB2bClient::Services::ParcelsSubmissionCloser

Inherits:
ParcelsAsyncSender show all
Defined in:
lib/czech_post_b2b_client/services/parcels_submission_closer.rb

Instance Attribute Summary collapse

Attributes inherited from ParcelsAsyncSender

#parcels

Attributes inherited from SteppedService::Base

#result

Instance Method Summary collapse

Methods inherited from Communicator

#steps

Methods inherited from SteppedService::Base

call, #call, #errors, #failure?, #finished?, #steps, #success?

Constructor Details

#initialize(sending_data:) ⇒ ParcelsSubmissionCloser

Returns a new instance of ParcelsSubmissionCloser.



8
9
10
# File 'lib/czech_post_b2b_client/services/parcels_submission_closer.rb', line 8

def initialize(sending_data:)
  @sending_data = sending_data
end

Instance Attribute Details

#sending_dataObject (readonly)

Returns the value of attribute sending_data.



6
7
8
# File 'lib/czech_post_b2b_client/services/parcels_submission_closer.rb', line 6

def sending_data
  @sending_data
end