Method: FitbitClient::Error#to_s
- Defined in:
- lib/fitbit_client/error.rb
#to_s ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/fitbit_client/error.rb', line 16 def to_s if response "#{@message}, HTTP_STATUS: #{response.status}, HTTP_BODY: #{response.body}, HTTP_URL: #{response.response.env.url}" else .to_s end end |