Module: Evropochta::Postal::Tracking

Defined in:
lib/evropochta/postal/tracking.rb

Class Method Summary collapse

Class Method Details

.call(track_number: "", postal_item_external_id: "") ⇒ Object



6
7
8
9
10
11
# File 'lib/evropochta/postal/tracking.rb', line 6

def call(track_number: "", postal_item_external_id: "")
  Services::Shared.request(
    "Postal.Tracking",
    { Number: track_number, PostalItemExternalId: postal_item_external_id }
  )
end