Sha256: 111e091d5f9f8035c27569301d763e8c4f829c4b2e314492cfc9bd77739e6eca

Contents?: true

Size: 331 Bytes

Versions: 15

Compression:

Stored size: 331 Bytes

Contents

# Exception for a Unauthorized Response ( Status Code : 401 ).
# The request requires user authentication.
class ApiClient::Exceptions::Unauthorized < ApiClient::Exceptions::Generic
  # Initialize a new exception.
  #
  # @return [Unauthorized] a new exception.
  def self.initialize
    super('Authentication Required!')
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
api-client-3.1.0 lib/api-client/exceptions/unauthorized.rb
api-client-3.0.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.7.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.6.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.5.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.5.0.rc1 lib/api-client/exceptions/unauthorized.rb
api-client-2.4.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.3.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.2.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.1.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.0.3 lib/api-client/exceptions/unauthorized.rb
api-client-2.0.2 lib/api-client/exceptions/unauthorized.rb
api-client-2.0.1 lib/api-client/exceptions/unauthorized.rb
api-client-2.0.0 lib/api-client/exceptions/unauthorized.rb
api-client-2.0.0.rc2 lib/api-client/exceptions/unauthorized.rb