Sha256: 51985e9d7b2ab1bda1b58ce28830b1b11721b8a0fe25d5d619a2401f0038e906

Contents?: true

Size: 316 Bytes

Versions: 8

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

module ONEAccess
  module Response
    module Representer
      class APIError < Representable::Decorator
        include Representable::JSON

        property :api_status_code, as: :ApiStatusCode
        property :api_status_message, as: :ApiStatusMessage
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
oneaccess-1.3.1 lib/oneaccess/response/representer/api_error.rb
oneaccess-1.3.0 lib/oneaccess/response/representer/api_error.rb
oneaccess-1.2.0 lib/oneaccess/response/representer/api_error.rb
oneaccess-1.1.0 lib/oneaccess/response/representer/api_error.rb
oneaccess-1.0.1 lib/oneaccess/response/representer/api_error.rb
oneaccess-1.0.0 lib/oneaccess/response/representer/api_error.rb
oneaccess-0.5.0 lib/oneaccess/response/representer/api_error.rb
oneaccess-0.4.5 lib/oneaccess/response/representer/api_error.rb