Top Level Namespace

Defined Under Namespace

Modules: Commands, Imperator

Instance Method Summary collapse

Instance Method Details

#build_command(action, model, options = {}, &block) ⇒ Object



7
8
9
# File 'lib/imperator/command/macros.rb', line 7

def build_command action, model, options = {}, &block
  imperator_class_factory.build_command action, model, options = {}, &block
end

#build_rest_command(action, model, options = {}, &block) ⇒ Object



11
12
13
# File 'lib/imperator/command/macros.rb', line 11

def build_rest_command action, model, options = {}, &block
  imperator_class_factory.rest_command action, model, options = {}, &block
end

#imperator_class_factoryObject

Global macro methods



3
4
5
# File 'lib/imperator/command/macros.rb', line 3

def imperator_class_factory
  Imperator::Command::ClassFactory
end