Exception: OXR::ApiError
Instance Method Summary collapse
Instance Method Details
#description ⇒ Object
17 18 19 |
# File 'lib/oxr.rb', line 17 def description response['description'] end |
#message ⇒ Object
13 14 15 |
# File 'lib/oxr.rb', line 13 def cause. end |
#response ⇒ Object
21 22 23 |
# File 'lib/oxr.rb', line 21 def response @response ||= JSON.parse cause.io.read end |