mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 06:16:50 +00:00
Required
This commit is contained in:
parent
320596b75b
commit
4fb635bd29
@ -1,6 +1,7 @@
|
|||||||
# ActiveModelSerializers::Model is a convenient superclass for making your models
|
# ActiveModelSerializers::Model is a convenient superclass for making your models
|
||||||
# from Plain-Old Ruby Objects (PORO). It also serves as a reference implementation
|
# from Plain-Old Ruby Objects (PORO). It also serves as a reference implementation
|
||||||
# that satisfies ActiveModel::Serializer::Lint::Tests.
|
# that satisfies ActiveModel::Serializer::Lint::Tests.
|
||||||
|
require 'active_support/core_ext/hash'
|
||||||
module ActiveModelSerializers
|
module ActiveModelSerializers
|
||||||
class Model
|
class Model
|
||||||
include ActiveModel::Serializers::JSON
|
include ActiveModel::Serializers::JSON
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user