Sha256: 20e021ed080011ca0e89c6de02323373f9712aa3209bdbaa45ace4933bb5f397

Contents?: true

Size: 376 Bytes

Versions: 18

Compression:

Stored size: 376 Bytes

Contents

module TrackingNumber
  class Unknown < Base
    COURIER_CODE = :unknown

    def carrier
      COURIER_CODE
    end

    def courier_name
      "Unknown"
    end

    def valid?
      false
    end

    def valid_format?
      false
    end

    def valid_checksum?
      false
    end

    def decode
      {}
    end

    def matching_additional
      {}
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
tracking_number-1.4.1 lib/tracking_number/unknown.rb
tracking_number-1.4.0 lib/tracking_number/unknown.rb
tracking_number-1.3.5 lib/tracking_number/unknown.rb
tracking_number-1.3.2 lib/tracking_number/unknown.rb
tracking_number-1.3.1 lib/tracking_number/unknown.rb
tracking_number-1.3.0 lib/tracking_number/unknown.rb
tracking_number-1.2.1 lib/tracking_number/unknown.rb
tracking_number-1.2.0 lib/tracking_number/unknown.rb
tracking_number-1.1.2 lib/tracking_number/unknown.rb
tracking_number-1.1.1 lib/tracking_number/unknown.rb
tracking_number-1.0.7 lib/tracking_number/unknown.rb
tracking_number-1.0.6 lib/tracking_number/unknown.rb
tracking_number-1.0.5 lib/tracking_number/unknown.rb
tracking_number-1.0.4 lib/tracking_number/unknown.rb
tracking_number-1.0.3 lib/tracking_number/unknown.rb
tracking_number-1.0.2 lib/tracking_number/unknown.rb
tracking_number-1.0.1 lib/tracking_number/unknown.rb
tracking_number-1.0.0.pre1 lib/tracking_number/unknown.rb