Sha256: e2a4821cdfa52ef15bcf2c23d613e6da7af28a6366b58eb217021a5f9deb8e48

Contents?: true

Size: 265 Bytes

Versions: 1

Compression:

Stored size: 265 Bytes

Contents

# frozen_string_literal: true

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

    private

    <% steps.each do |step| %>

  def <%= step %>(input); end
  <% end %>
end

Version data entries

1 entries across 1 versions & 1 rubygems

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