Sha256: d31fb1800f656456c24ba29e8e957448e77079382c0551f98c87e63844495b87

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

#
# Copyright (c) 2019-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

module MarbleApiClient
  module Responses
    # Represents an HTTP 401 responses.
    # Adds additional properties to the ClientError which encompasses the entire 400 level.
    class Unauthorized < ClientError
      body_attributes :message, :redirect_url
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
marble_api_client-1.1.0 lib/marble_api_client/responses/unauthorized.rb
marble_api_client-1.0.0 lib/marble_api_client/responses/unauthorized.rb
marble_api_client-1.0.0.pre.alpha.1 lib/marble_api_client/responses/unauthorized.rb