Class: Speckle::CLI::Router

Inherits:
Object
  • Object
show all
Defined in:
lib/speckle/cli/router.rb

Instance Method Summary collapse

Instance Method Details

#route(action, options) ⇒ Object



7
8
9
10
# File 'lib/speckle/cli/router.rb', line 7

def route(action, options)
  controller = Controller.new(options)
  controller.send(action)
end