Method: JSONCop::Model::Model#initialize

Defined in:
lib/jsoncop/model/model.rb

#initialize(name) ⇒ Model

Returns a new instance of Model.



10
11
12
13
14
15
# File 'lib/jsoncop/model/model.rb', line 10

def initialize(name)
    @name = name.gsub(/\s+/, "")
    @attributes = []
    @transformers = []
    @attr_json_hash = {}
end