class Quickbooks::AuthorizationFailure

def initialize(error_hash = {})

def initialize(error_hash = {})
  @code = error_hash[:code]
  @detail = error_hash[:detail]
  @type = error_hash[:type]
  super(error_hash[:message])
end