class CoachClient::Unauthorized

The error that the user is not authorized to see the resource.

Attributes

user[R]

Returns the user that encountered the error.

@return [CoachClient::User]

Public Class Methods

new(user = nil) click to toggle source

@param [CoachClient::User] user @return [CoachClient::Unauthorized]

# File lib/coach_client/exceptions.rb, line 59
def initialize(user = nil)
  @user = user
end