Module: RestApiGenerator::Serializable
- Extended by:
- ActiveSupport::Concern
- Included in:
- ChildResourceController, ResourceController
- Defined in:
- lib/rest_api_generator/serializable.rb
Instance Method Summary collapse
Instance Method Details
#index_serializer(resources) ⇒ Object
14 15 16 |
# File 'lib/rest_api_generator/serializable.rb', line 14 def index_serializer(resources) serializer(resources) end |
#serializer(resource) ⇒ Object
10 11 12 |
# File 'lib/rest_api_generator/serializable.rb', line 10 def serializer(resource) resource end |