Exception: Balanced::MoreInformationRequired
- Inherits:
-
Error
- Object
- StandardError
- Error
- Balanced::MoreInformationRequired
show all
- Defined in:
- lib/balanced/error.rb
Instance Attribute Summary
Attributes inherited from Error
#response
Instance Method Summary
collapse
Methods inherited from Error
#body, #initialize
Instance Method Details
#error_message ⇒ Object
81
82
83
84
85
|
# File 'lib/balanced/error.rb', line 81
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_uri ⇒ Object
77
78
79
|
# File 'lib/balanced/error.rb', line 77
def redirect_uri
response.['Location']
end
|