Class: CzechPostB2bClient::Services::DeliveringInspector

Inherits:
Communicator show all
Defined in:
lib/czech_post_b2b_client/services/delivering_inspector.rb

Instance Attribute Summary collapse

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(parcel_codes:) ⇒ DeliveringInspector

Returns a new instance of DeliveringInspector.



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

def initialize(parcel_codes:)
  @parcel_codes = parcel_codes
end

Instance Attribute Details

#parcel_codesObject (readonly)

Returns the value of attribute parcel_codes.



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

def parcel_codes
  @parcel_codes
end