module Postnord

Constants

VERSION

Public Class Methods

find_by_identifier(id) click to toggle source

Helper methods

# File lib/postnord/shipment.rb, line 5
def self.find_by_identifier(id)
  FindByIdentifier.call(
    id: id,
  )
end
find_by_notification_code(phone_number, notification_code) click to toggle source
# File lib/postnord/shipment.rb, line 11
def self.find_by_notification_code(phone_number, notification_code)
  FindByNotificationCode.call(
    notificationPhoneNumber: phone_number,
    notificationCode: notification_code,
  )
end
find_by_reference(customer_number, reference_value) click to toggle source
# File lib/postnord/shipment.rb, line 18
def self.find_by_reference(customer_number, reference_value)
  FindByReference.call(
    customerNumber: customer_number,
    referenceValue: reference_value,
  )
end