Class: Spotlight::PageRepresenter
- Inherits:
-
Roar::Decorator
- Object
- Roar::Decorator
- Spotlight::PageRepresenter
- Includes:
- Roar::JSON
- Defined in:
- app/serializers/spotlight/page_representer.rb
Overview
Serialize an exhibit page
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#content ⇒ Object
14 15 16 17 |
# File 'app/serializers/spotlight/page_representer.rb', line 14 def content # get the sir-trevor objects as JSON. represented.content.as_json end |