module Corzinus

Constants

VERSION

Public Class Methods

setup() { |self| ... } click to toggle source
# File lib/corzinus.rb, line 22
def self.setup
  yield self
end

Public Instance Methods

call() click to toggle source
# File lib/generators/corzinus/templates/generate_step/command_step.rb, line 12
def call
  if form_valid? && update_order
    broadcast :valid
  else
    broadcast :invalid
  end
end

Private Instance Methods

form_valid?() click to toggle source
# File lib/generators/corzinus/templates/generate_step/command_step.rb, line 22
def form_valid?
  true
end
update_order() click to toggle source
# File lib/generators/corzinus/templates/generate_step/command_step.rb, line 26
def update_order
  true
end