Module: Evropochta::Postal::OrderInfo

Defined in:
lib/evropochta/postal/order_info.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/order_info.rb', line 6

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