Sha256: cdc13c923e57d012344ea544c4166761b10f051ae3f9a3762f8014cf055eab7d

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require 'dry-transaction'

module Dry
  module Web
    module Transaction
      class Composer
        attr_reader :container

        def initialize(container)
          @container = container
        end

        def define(&block)
          Dry.Transaction(container: container, &block)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-web-0.1.0 lib/dry/web/transaction.rb