Class: NucleusCore::View
- Inherits:
-
SimpleObject
- Object
- SimpleObject
- NucleusCore::View
- Defined in:
- lib/nucleus_core/views/view.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from SimpleObject
Instance Method Summary collapse
Methods inherited from SimpleObject
Constructor Details
This class inherits a constructor from NucleusCore::SimpleObject
Instance Method Details
#json_response ⇒ Object
4 5 6 |
# File 'lib/nucleus_core/views/view.rb', line 4 def json_response NucleusCore::JsonResponse.new(content: to_h, status: :ok) end |