Class: CzechPostB2bClient::RequestBuilders::GetResultParcelsBuilder
- Inherits:
-
BaseBuilder
- Object
- SteppedService::Base
- BaseBuilder
- CzechPostB2bClient::RequestBuilders::GetResultParcelsBuilder
- Defined in:
- lib/czech_post_b2b_client/request_builders/get_result_parcels_builder.rb
Constant Summary
Constants inherited from BaseBuilder
Instance Attribute Summary collapse
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Attributes inherited from BaseBuilder
Attributes inherited from SteppedService::Base
Instance Method Summary collapse
-
#initialize(transaction_id:, request_id: 1) ⇒ GetResultParcelsBuilder
constructor
A new instance of GetResultParcelsBuilder.
Methods inherited from BaseBuilder
Methods inherited from SteppedService::Base
call, #call, #errors, #failure?, #finished?, #steps, #success?
Constructor Details
#initialize(transaction_id:, request_id: 1) ⇒ GetResultParcelsBuilder
Returns a new instance of GetResultParcelsBuilder.
8 9 10 11 |
# File 'lib/czech_post_b2b_client/request_builders/get_result_parcels_builder.rb', line 8 def initialize(transaction_id:, request_id: 1) @transaction_id = transaction_id @request_id = request_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/request_builders/get_result_parcels_builder.rb', line 6 def transaction_id @transaction_id end |