Method: Model#new_model

Defined in:
lib/volt/models/model.rb

#new_model(attributes, options) ⇒ Object



185
186
187
# File 'lib/volt/models/model.rb', line 185

def new_model(attributes, options)
  class_at_path(options[:path]).new(attributes, options)
end