class TNT::Label

Label endpoint resource

Public Class Methods

find(ref) click to toggle source

Handles the shipment label fetching request

@return [TNT::Response]

# File lib/tnt.rb, line 105
def self.find(ref)
  new(request(:post, uri, form: { xml_in: 'GET_LABEL:' + ref.to_s }))
end