Sha256: b6262ebb38c28c8b52553df394f5a1b84eedd202e01432d54b57628e48afad0f

Contents?: true

Size: 273 Bytes

Versions: 24

Compression:

Stored size: 273 Bytes

Contents

<% module_namespacing do -%>
class <%= class_name %>Service < Riveter::Service::Base

  # associate this handler with the respective command
  register_as_handler_for <%= class_name %>Command

  def perform(command)
    # TODO: provide implementation
  end

end
<% end -%>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
riveter-0.0.5 lib/generators/riveter/service/templates/service.rb
riveter-0.0.4 lib/generators/riveter/service/templates/service.rb
riveter-0.0.3 lib/generators/riveter/service/templates/service.rb
riveter-0.0.1 lib/generators/riveter/service/templates/service.rb