module CloudFormer::MakesJson::ClassMethods

Public Instance Methods

json_attribute(name, options={}) click to toggle source
# File lib/cloud_former/makes_json.rb, line 67
def json_attribute(name, options={})
  class_variable_get('@@json_attributes') << { name: name, options: options }
end