Method: FitbitClient::Error#json_response
- Defined in:
- lib/fitbit_client/error.rb
#json_response ⇒ Object
12 13 14 |
# File 'lib/fitbit_client/error.rb', line 12 def json_response @json_response ||= JSON.parse(response.body) if response end |