Class: Pragma::Operation::Response::NoContent
- Inherits:
-
Pragma::Operation::Response
- Object
- Pragma::Operation::Response
- Pragma::Operation::Response::NoContent
- Defined in:
- lib/pragma/operation/response/no_content.rb
Overview
Represents the 204 No Content HTTP response.
Constant Summary
Constants inherited from Pragma::Operation::Response
Instance Attribute Summary
Attributes inherited from Pragma::Operation::Response
Instance Method Summary collapse
-
#initialize(headers: {}) ⇒ NoContent
constructor
Initializes the response.
Methods inherited from Pragma::Operation::Response
#decorate_with, #failure?, #success?
Constructor Details
#initialize(headers: {}) ⇒ NoContent
Initializes the response.
11 12 13 |
# File 'lib/pragma/operation/response/no_content.rb', line 11 def initialize(headers: {}) super(status: 204, entity: nil, headers: headers) end |