lib/pragma/operation/response/no_content.rb in pragma-operation-2.1.0 vs lib/pragma/operation/response/no_content.rb in pragma-operation-2.2.0

- old
+ new

@@ -1,10 +1,14 @@ # frozen_string_literal: true module Pragma module Operation class Response + # Represents the 204 No Content HTTP response. class NoContent < Response + # Initializes the response. + # + # @param headers [Hash] the response's headers def initialize(headers: {}) super(status: 204, entity: nil, headers: headers) end end end