Class: Alephant::Renderer::Views::Envelope
- Defined in:
- lib/alephant/renderer/views/envelope.rb
Instance Method Summary collapse
Methods inherited from Json
Methods included from Base
Instance Method Details
#body_last ⇒ Object
12 13 14 |
# File 'lib/alephant/renderer/views/envelope.rb', line 12 def body_last [] end |
#head ⇒ Object
8 9 10 |
# File 'lib/alephant/renderer/views/envelope.rb', line 8 def head [] end |
#locale ⇒ Object
16 17 18 |
# File 'lib/alephant/renderer/views/envelope.rb', line 16 def locale :en end |
#render ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/alephant/renderer/views/envelope.rb', line 20 def render { head: head, bodyInline: renderer_engine.render(self), bodyLast: body_last }.to_json end |