Sha256: 39bb2ba0206eefb953f21471b6cace378cd46360408f9d5ff35f26794f9f3c16

Contents?: true

Size: 250 Bytes

Versions: 58

Compression:

Stored size: 250 Bytes

Contents

module Paypal
  class Exception
    class HttpError < Exception
      attr_accessor :code, :message, :body
      def initialize(code, message, body = '')
        @code = code
        @message = message
        @body = body
      end
    end
  end
end

Version data entries

58 entries across 58 versions & 4 rubygems

Version Path
ianfleeton-paypal-express-1.1.0 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-1.0.0 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.7 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.6 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.5 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.4 lib/paypal/exception/http_error.rb
creative-paypal-express-1.4.1 lib/paypal/exception/http_error.rb
creative-paypal-express-1.4.0 lib/paypal/exception/http_error.rb
creative-paypal-express-1.3.0 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.3 lib/paypal/exception/http_error.rb
ianfleeton-paypal-express-0.8.2 lib/paypal/exception/http_error.rb
creative-paypal-express-1.2.1 lib/paypal/exception/http_error.rb
creative-paypal-express-1.2.0 lib/paypal/exception/http_error.rb
creative-paypal-express-1.1.0 lib/paypal/exception/http_error.rb
dfg-paypal-0.8.2 lib/paypal/exception/http_error.rb
creative-paypal-express-1.0.1.dev2 lib/paypal/exception/http_error.rb
creative-paypal-express-1.0.1.dev1 lib/paypal/exception/http_error.rb
creative-paypal-express-1.0.0 lib/paypal/exception/http_error.rb
creative-paypal-express-0.8.2.4 lib/paypal/exception/http_error.rb
creative-paypal-express-0.8.2.3 lib/paypal/exception/http_error.rb