class Pragma::Operation::Response::NoContent

Represents the 204 No Content HTTP response.

Public Class Methods

new(headers: {}) click to toggle source

Initializes the response.

@param headers [Hash] the response's headers

Calls superclass method Pragma::Operation::Response::new
# File lib/pragma/operation/response/no_content.rb, line 11
def initialize(headers: {})
  super(status: 204, entity: nil, headers: headers)
end