Sha256: 487a2a215cb3c6705fb5470d8f6d216c9dbae9a5a56d8d6f9239eeea8b5ce522

Contents?: true

Size: 237 Bytes

Versions: 2

Compression:

Stored size: 237 Bytes

Contents

class <%= class_name %>Handler < ApplicationHandler
  define do
    params do

    end

    query do

    end

    command do
      def call(*)
        # NOOP
      end
    end
  end

  def on_success(flow)
    flow.call(flow)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
steel_wheel-0.6.1 lib/generators/steel_wheel/handler/templates/handler_template.rb
steel_wheel-0.6.0 lib/generators/steel_wheel/handler/templates/handler_template.rb