mirror of
https://github.com/samsonjs/grape-active_model_serializers.git
synced 2026-03-25 08:45:55 +00:00
Adding methods into the Grape::Endpoint class that ActiveModel::Serializers are relying on from ActionController as well as a few convenience methods for Route and Namespace options. I believe we can expand on some of the empty methods here to allow for higher (api) level option setting and defaults. This is a first step in that direction.
5 lines
186 B
Ruby
5 lines
186 B
Ruby
require 'active_model_serializers'
|
|
require 'grape'
|
|
require 'grape/endpoint_extension'
|
|
require "grape-active_model_serializers/version"
|
|
require "grape-active_model_serializers/formatter"
|