Sha256: d87a324329de05caa66f125525471582a3bed394302271103321ba2ab2898b23

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

<%= '# default generated template' %>

<%= "# for using with model resource, initialize #{service_name}Service" %>
<%= "# #{service_name}Service.new( ModelClassName.new )" %>
<%= "# or with instance variable #{service_name}Service.new(@model_class_name)" %>

class <%= service_name %>Service < Faat::Service::Base

  # add your business logic here

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
faat-0.1.6 lib/generators/faat/services/templates/service_template.rb
faat-0.1.5 lib/generators/faat/services/templates/service_template.rb