Sha256: 05b49967867bdc21c22bc86051ad00e43f5ab9ab0192c9b2606d2c556c2fc860
Contents?: true
Size: 386 Bytes
Versions: 9
Compression:
Stored size: 386 Bytes
Contents
# frozen_string_literal: true require 'roar/decorator' require 'roar/json' module Pragma module Decorator # This is the base decorator that all your resource-specific decorators should extend from. # # It is already configured to render your resources as JSON. class Base < Roar::Decorator feature Roar::JSON defaults render_nil: true end end end
Version data entries
9 entries across 9 versions & 1 rubygems