Sha256: 178501d5d5a2db3c75ab539c8b107dc1ebf705ad3bac4deeb510c064550e2737
Contents?: true
Size: 417 Bytes
Versions: 20
Compression:
Stored size: 417 Bytes
Contents
module ActiveRemote module Serializers module JSON # Returns a json representation of the whitelisted publishable attributes. # def as_json(options = {}) options ||= {} default_options = { :only => _publishable_json_attributes, :methods => _publishable_json_methods } default_options.merge!(options) super(default_options) end end end end
Version data entries
20 entries across 20 versions & 1 rubygems