Sha256: 454fa3f379b40a4ad87159253bee05717ff69c27139c1b0a8a04654d8eaf450d

Contents?: true

Size: 370 Bytes

Versions: 5

Compression:

Stored size: 370 Bytes

Contents

require 'json-schema'
require 'active_support'
require 'active_support/core_ext/object/to_json'
require 'active_model/serializer'
require 'active_model/serializer/validator/mixin'
require 'active_model/serializer/validator/version'

# Inject the mixin in the ActiveModel::Serializer class
ActiveModel::Serializer.send :include, ActiveModel::Serializer::Validator::Mixin

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_model_serializers_validator-1.0.1 lib/active_model_serializers_validator.rb
active_model_serializers_validator-0.1.4 lib/active_model_serializers_validator.rb
active_model_serializers_validator-1.0 lib/active_model_serializers_validator.rb
active_model_serializers_validator-0.1.3 lib/active_model_serializers_validator.rb
active_model_serializers_validator-0.1.2 lib/active_model_serializers_validator.rb