Class: Moon::Action::Models::Initializer

Inherits:
Object
  • Object
show all
Defined in:
lib/moon/action/models/initializer.rb

Overview

This action searches for hash values in the parameters and tries to initialize a model from it.

Defined Under Namespace

Classes: Builder

Instance Method Summary collapse

Instance Method Details

#perform(context) ⇒ Object



6
7
8
9
10
# File 'lib/moon/action/models/initializer.rb', line 6

def perform(context)
  @context = context
  initialize_models
  nil
end