Sha256: 95f200ce11e18c093a4503437b8246f3b88c143068e7030e98f4e2e839ea9197

Contents?: true

Size: 170 Bytes

Versions: 13

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module FriendlyShipping
  class ApiFailure < ApiResult
    alias_method :failure, :data

    def to_s
      failure.to_s
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
friendly_shipping-0.8.1 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.8.0 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.7.3 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.7.2 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.7.1 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.7.0 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.5 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.4 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.3 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.2 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.1 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.6.0 lib/friendly_shipping/api_failure.rb
friendly_shipping-0.5.3 lib/friendly_shipping/api_failure.rb