Sha256: c24245fd052c5ab850883abfea7239f120c9ea05c2fd2d842ff8c24a1c176e91
Contents?: true
Size: 494 Bytes
Versions: 1
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module Pragma module Operation class Response # Represents the 409 Conflict HTTP response. class Conflict < Response def initialize( entity: Error.new( error_type: :conflict, error_message: 'Your request is in conflict with other content on this server.' ), headers: {} ) super(status: 409, entity: entity, headers: headers) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pragma-operation-2.2.0 | lib/pragma/operation/response/conflict.rb |