Sha256: 67e5d4fc9bec2e0709a37ba06863ad2fbd7c836860277021b56467461c4e506b

Contents?: true

Size: 585 Bytes

Versions: 3

Compression:

Stored size: 585 Bytes

Contents

module ActiveMerchant
  module Shipping
    
    class VoidShipmentResponse < Response
      
      attr_reader :status_code
      attr_reader :status_type
      attr_reader :package_level_results
      
      def initialize(success, message, params = {}, options = {})
        @package_level_results = []
        @status_type = options[:status_type]
        @status_code = options[:status_code]
        options[:package_level_results].each{ |result| @package_level_results << result } unless options[:package_level_results].blank?
        super
      end
      
    end
    
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rclements_active_shipping-0.9.15 lib/active_shipping/shipping/void_shipment_response.rb
rclements_active_shipping-0.9.14 lib/active_shipping/shipping/void_shipment_response.rb
rclements_active_shipping-0.9.13 lib/active_shipping/shipping/void_shipment_response.rb