Class: CzechPostB2bClient::Services::ParcelsSendProcessUpdater
- Inherits:
-
Communicator
- Object
- SteppedService::Base
- Orchestrator
- Communicator
- CzechPostB2bClient::Services::ParcelsSendProcessUpdater
- Defined in:
- lib/czech_post_b2b_client/services/parcels_send_process_updater.rb
Instance Attribute Summary collapse
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Attributes inherited from SteppedService::Base
Instance Method Summary collapse
-
#initialize(transaction_id:) ⇒ ParcelsSendProcessUpdater
constructor
A new instance of ParcelsSendProcessUpdater.
- #steps ⇒ Object
Methods inherited from SteppedService::Base
call, #call, #errors, #failure?, #finished?, #success?
Constructor Details
#initialize(transaction_id:) ⇒ ParcelsSendProcessUpdater
Returns a new instance of ParcelsSendProcessUpdater.
8 9 10 |
# File 'lib/czech_post_b2b_client/services/parcels_send_process_updater.rb', line 8 def initialize(transaction_id:) @transaction_id = transaction_id end |
Instance Attribute Details
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
6 7 8 |
# File 'lib/czech_post_b2b_client/services/parcels_send_process_updater.rb', line 6 def transaction_id @transaction_id end |
Instance Method Details
#steps ⇒ Object
12 13 14 |
# File 'lib/czech_post_b2b_client/services/parcels_send_process_updater.rb', line 12 def steps super + %i[check_for_state_errors] end |