Sha256: d03a02ad6a4c4f8afd8c565f0beede5c0738ffb2f10b98688fe02bad7d3da235

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

module Omniship #:nodoc:
  class ShipResponse < Response
    attr_reader :tracking_number
    attr_reader :label_encoded

    def initialize(success, message, params = {}, options = {})
      @tracking_number = params[:tracking_number]
      @label_encoded   = params[:label_encoded]
      super
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
omniship-0.4.7 lib/omniship/ship_response.rb
omniship-0.4.6 lib/omniship/ship_response.rb
omniship-0.4.5 lib/omniship/ship_response.rb
omniship-0.4.1 lib/omniship/ship_response.rb
omniship-0.4.0 lib/omniship/ship_response.rb