Sha256: 722140cf9c48b85eb34551af676d2cc5f018007e724a6355d97d67e0f8adbafb
Contents?: true
Size: 301 Bytes
Versions: 4
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true module Railsful module Serializable def render(options = nil, extra_options = {}, &block) super(fast_jsonapi_options(options), extra_options, &block) end def fast_jsonapi_options(options) Serializer.new(self).render(options) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
railsful-0.1.3 | lib/railsful/serializable.rb |
railsful-0.1.2 | lib/railsful/serializable.rb |
railsful-0.1.1 | lib/railsful/serializable.rb |
railsful-0.1.0 | lib/railsful/serializable.rb |