Exception: Balanced::MoreInformationRequired

Inherits:
Error
  • Object
show all
Defined in:
lib/balanced_ach/error.rb

Instance Attribute Summary

Attributes inherited from Error

#response

Instance Method Summary collapse

Methods inherited from Error

#body, #initialize

Constructor Details

This class inherits a constructor from Balanced::Error

Instance Method Details

#error_messageObject



40
41
42
43
44
# File 'lib/balanced_ach/error.rb', line 40

def error_message
  set_attrs
  "#{self.class.name} :: #{response[:method].to_s.upcase} #{response[:url].to_s}: "\
  "#{response[:status]}: \n#{body[:friendly_html]}"
end

#redirect_uriObject



36
37
38
# File 'lib/balanced_ach/error.rb', line 36

def redirect_uri
  response.headers['Location']
end