Class: BBMB::Html::View::Json
- Inherits:
-
HtmlGrid::Component
- Object
- HtmlGrid::Component
- BBMB::Html::View::Json
- Defined in:
- lib/bbmb/html/view/json.rb
Constant Summary collapse
- HTTP_HEADERS =
{ 'Content-Type' => 'text/javascript; charset=UTF-8', }
Instance Method Summary collapse
Instance Method Details
#to_html(context) ⇒ Object
14 15 16 |
# File 'lib/bbmb/html/view/json.rb', line 14 def to_html(context) @model.to_json end |