class Trackerific::Builders::USPS
Protected Instance Methods
build()
click to toggle source
Builds the USPS
track request XML @api private
# File lib/trackerific/builders/usps.rb, line 10 def build add_track_request end
Private Instance Methods
add_track_request()
click to toggle source
Adds the track request and package id to the XML @api private
# File lib/trackerific/builders/usps.rb, line 18 def add_track_request builder.TrackRequest(:USERID => user_id) do |t| t.TrackID(:ID => package_id) end end