Sha256: ae8384522a9cbce3660cba8d48dcb4df5de06fd0859cf69eaf18f2ed0715f848
Contents?: true
Size: 409 Bytes
Versions: 15
Compression:
Stored size: 409 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
15 entries across 15 versions & 1 rubygems