Sha256: 416f40204f54634e4b8bac9dd111551cfffe0fb63794ace9516e9443e9741227

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 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 400 responses.
    # Adds additional properties to the ClientError which encompasses the entire 400 level.
    class BadRequest < ClientError
      body_attributes :message
    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/bad_request.rb
marble_api_client-1.0.0 lib/marble_api_client/responses/bad_request.rb
marble_api_client-1.0.0.pre.alpha.1 lib/marble_api_client/responses/bad_request.rb