Exception: Recurly::API::Unauthorized

Inherits:
ClientError show all
Defined in:
lib/recurly/api/errors.rb

Overview

401 Unauthorized

The API key is missing or invalid for the given request.

Instance Attribute Summary

Attributes inherited from ResponseError

#request, #response

Instance Method Summary collapse

Methods inherited from ResponseError

#code, #details, #initialize, #symbol, #to_s

Methods inherited from Error

#set_message, #to_s

Constructor Details

This class inherits a constructor from Recurly::API::ResponseError

Instance Method Details

#descriptionObject



83
84
85
# File 'lib/recurly/api/errors.rb', line 83

def description
  response.body.strip
end