Sha256: 607d13f76cf0f74bfbb34d4b84191f8529896bc4ca49bd4e9fd12d2eca1fafc2
Contents?: true
Size: 406 Bytes
Versions: 1
Compression:
Stored size: 406 Bytes
Contents
# 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pragma-operation-2.2.0 | lib/pragma/operation/response/no_content.rb |