class Pragma::Operation::Response::Conflict
Represents the 409 Conflict
HTTP response.
Public Class Methods
new( entity: Error.new( error_type: :conflict, error_message: 'Your request is in conflict with other content on this server.' ), headers: {} )
click to toggle source
Calls superclass method
Pragma::Operation::Response::new
# File lib/pragma/operation/response/conflict.rb, line 8 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