Sha256: d141eacb57c0d912cf5eb1c05ca88aa3ac284ef25cd050ba65e06f7d2361648d

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 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 403 responses.
    # Adds additional properties to the ClientError which encompasses the entire 400 level.
    class Forbidden < 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/forbidden.rb
marble_api_client-1.0.0 lib/marble_api_client/responses/forbidden.rb
marble_api_client-1.0.0.pre.alpha.1 lib/marble_api_client/responses/forbidden.rb