class Napster::ResponseError
Raised when the response status is anything over 400
Attributes
faraday_response[RW]
http_status[RW]
response_body[RW]
Public Class Methods
new(response)
click to toggle source
# File lib/napster/response_error.rb, line 8 def initialize(response) @http_status = response.status @response_body = response.body @faraday_response = response end