Sha256: 556667fb977a62918b76bd52a81024e6f00e7d700fb1a729ccca4699cbb0c14c
Contents?: true
Size: 422 Bytes
Versions: 10
Compression:
Stored size: 422 Bytes
Contents
module Scimitar class ErrorResponse < StandardError include ActiveModel::Model attr_accessor :status, :detail, :scimType def as_json(options = {}) data = { 'schemas': ['urn:ietf:params:scim:api:messages:2.0:Error'], 'detail': detail, 'status': "#{status}" } data['scimType'] = scimType if scimType data end end end
Version data entries
10 entries across 10 versions & 1 rubygems