active_model_serializers/lib/active_model_serializers/adapter/null.rb
Benjamin Fleischer aad7779a3f Restrict serializable_hash to accepted options (#1647)
Restrict tests/impl from passing AMS options into serializable_hash
2016-04-11 13:10:18 -05:00

10 lines
139 B
Ruby

module ActiveModelSerializers
module Adapter
class Null < Base
def serializable_hash(*)
{}
end
end
end
end