class Recharge::RequestError

Raised when a non-2XX HTTP response is returned or a response with an error or warning property

Attributes

errors[RW]
meta[RW]
status[RW]

Public Class Methods

new(message, status, meta = nil, errors = nil) click to toggle source
Calls superclass method
# File lib/recharge.rb, line 22
def initialize(message, status, meta = nil, errors = nil)
  super message
  @status = status
  @meta = meta || {}
  @errors = errors || {}
end