Module: Laminar::Transacticle

Defined in:
lib/laminar/transacticle.rb

Overview

Extends Laminar::Particle to include methods to wrap calls in ActiveRecord transactions.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



10
11
12
13
14
15
# File 'lib/laminar/transacticle.rb', line 10

def self.included(klass)
  klass.class_eval do
    include Laminar::Particle
    extend ClassMethods
  end
end