Sha256: aed8d355bdce459ecab7a74f2f93d044779e92f44d14a5ca810c946ece120b0f

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

module Executors
  class <%= class_name %> < <%= parent_class %>
    def execute
      # creates an error notification named :error
      error and return unless valid_params?

      # creates an error notification named :auth_invalid
      # error(:auth_invalid) and return unless auth_valid?

      # command! :sign_in
      # result      
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
controll-0.3.2 lib/generators/controll/templates/executor.tt
controll-0.3.1 lib/generators/controll/templates/executor.tt
controll-0.3.0 lib/generators/controll/templates/executor.tt