Sha256: 9438d6bd84fede45305acd2bb0fcc2679d4f3bd642ef50a3452b98015efc2f54

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Trackerific
  module Builders
    class USPS < Base::XML.new(:user_id, :package_id)
      protected

      def build
        add_track_request
      end

      private

      def add_track_request
        builder.TrackRequest(:USERID => user_id) do |t|
          t.TrackID(:ID => package_id)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trackerific-0.7.2 lib/trackerific/builders/usps.rb