Module: Roar::Representer::JSON::CollectionJSON::ClassMethods::PropertyWithRenderNil

Defined in:
lib/roar/representer/json/collection_json.rb

Instance Method Summary collapse

Instance Method Details

#property(name, options = {}) ⇒ Object



57
58
59
# File 'lib/roar/representer/json/collection_json.rb', line 57

def property(name, options={})
  super(name, options.merge!(:render_nil => true))
end