Sha256: 516f0ef15ea7f6371b50e6ecf9593e9160085b4bde25af0e91188e794df12511

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

module Trackerific
  module Services
    class FedEx < Base
      require 'trackerific/builders/fedex'
      require 'trackerific/parsers/fedex'

      include Concerns::SOAP

      register :fedex

      self.soap_track_operation = :track
      self.soap_builder = Builders::FedEx
      self.soap_parser = Parsers::FedEx
      self.soap_wsdl = 'fedex/TrackService_v8'

      def self.package_id_matchers
        [ /^[0-9]{15}$/ ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trackerific-0.7.2 lib/trackerific/services/fedex.rb