Sha256: bf463be9b67c62040040bb12bfe934a1809dd6f5eee1b3bb1d7eb27c7dc86753

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

module ActiveMerchant #:nodoc:
  module Shipping
    class ShippingResponse < Response
      attr_reader :shipping_id # string
      attr_reader :tracking_number # string

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_shipping-0.12.6 lib/active_shipping/shipping/shipping_response.rb
active_shipping-0.12.5 lib/active_shipping/shipping/shipping_response.rb