Sha256: 1ab316990c4dae73b8a98a1743d612b83eaf0f0479680d1ed24320b61893cb1f

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

<%= '# default generated template' %>

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

class <%= resource_name %>Resource < Faat::Resources::Base

  # add your business logic here

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faat-0.1.5 lib/generators/faat/resources/templates/resource_template.rb
faat-0.1.4 lib/generators/faat/resources/templates/resource_template.rb
faat-0.1.3 lib/generators/faat/resources/templates/resource_template.rb