Sha256: 8cf555b0d6806915390fbd8122eca7b673b1e2ff887b8579cf5f5954adfc326b
Contents?: true
Size: 689 Bytes
Versions: 16
Compression:
Stored size: 689 Bytes
Contents
# Integration with Grape [Grape](https://github.com/ruby-grape/grape) is an opinionated micro-framework for creating REST-like APIs in ruby. ActiveModelSerializers currently supports Grape >= 0.13, < 1.0 To add [Grape](https://github.com/ruby-grape/grape) support, enable the formatter and helper functions by including `Grape::ActiveModelSerializers` in your base endpoint. For example: ```ruby module Example class Dummy < Grape::API require 'grape/active_model_serializers' include Grape::ActiveModelSerializers mount Example::V1::Base end end ``` Aside from this, [configuration](../general/configuration_options.md) of ActiveModelSerializers is exactly the same.
Version data entries
16 entries across 16 versions & 3 rubygems