Class: NucleusCore::NoResponse
- Inherits:
-
ResponseAdapter
- Object
- SimpleObject
- ResponseAdapter
- NucleusCore::NoResponse
- Defined in:
- lib/nucleus_core/response_adapters/no_response.rb
Instance Attribute Summary
Attributes inherited from SimpleObject
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ NoResponse
constructor
A new instance of NoResponse.
Methods inherited from SimpleObject
Constructor Details
#initialize(attrs = {}) ⇒ NoResponse
Returns a new instance of NoResponse.
4 5 6 7 8 |
# File 'lib/nucleus_core/response_adapters/no_response.rb', line 4 def initialize(attrs={}) attrs = attrs.merge(content: nil, type: "text/html; charset=utf-8") super(attrs) end |