Exception: Datmachine::MoreInformationRequired
- Inherits:
-
Error
- Object
- StandardError
- Error
- Datmachine::MoreInformationRequired
show all
- Defined in:
- lib/datmachine/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
69
70
71
72
73
|
# File 'lib/datmachine/error.rb', line 69
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
65
66
67
|
# File 'lib/datmachine/error.rb', line 65
def redirect_uri
response.['Location']
end
|