module Shippo::API::Operations::Track
Public Instance Methods
get(id, carrier)
click to toggle source
Retrieves tracking status of a shipment @param [Fixnum] id Database ID of the shipment to be received @param [String] carrier The carrier of the item to be received
# File lib/shippo/api/operations/track.rb, line 8 def get(id, carrier) response = Shippo::API.get("#{url}/#{CGI.escape(carrier)}/#{CGI.escape(id)}/") self.from(response) end