module DynamicScaffold::JSONObject::Attribute::ClassMethods
Public Instance Methods
json_object_attributte(attribute_name, model)
click to toggle source
# File lib/dynamic_scaffold/json_object/attribute.rb, line 17 def json_object_attributte(attribute_name, model) @json_object_attribute_names << attribute_name serialize attribute_name, model end