class AudioAddict::APIError

Attributes

response[R]

Public Class Methods

new(response) click to toggle source
Calls superclass method
# File lib/audio_addict/exceptions.rb, line 25
def initialize(response)
  @response = response
  super "#{response.code} #{response.message}:\n#{response.body}"
end