Class: Alephant::Renderer::Response
- Inherits:
-
Struct
- Object
- Struct
- Alephant::Renderer::Response
- Defined in:
- lib/alephant/renderer/response.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
5 6 7 |
# File 'lib/alephant/renderer/response.rb', line 5 def content @content end |
Instance Method Details
#to_json ⇒ Object
6 7 8 |
# File 'lib/alephant/renderer/response.rb', line 6 def to_json ::JSON.generate "content" => content end |