Sha256: 18c50d0629948a4232979909e6c407912da5164acb4f2ace781cecacc256cf54

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module <%= class_name %>
  class <%= file_name.camelize %> < ActiveTransaction::ApplicationTransaction
    <% steps.each do |step| %>
    step :<%= step %>
    <% end %>

    private

    <% steps.each do |step| %>
    def <%= step %>(input)
    end
    <% end %>
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_transaction-0.1.0 lib/generators/templates/transaction.rb.erb