Module: Hyperactive::Transactions::Accessors

Included in:
Record::Bass
Defined in:
lib/hyperactive/transactions.rb

Overview

Include this to get the default attr_reader at al redefined to be transactionally aware.

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.append_features(base) ⇒ Object

The base class including this will get a our ClassMethods as well.



95
96
97
98
# File 'lib/hyperactive/transactions.rb', line 95

def self.append_features(base)
  super
  base.extend(ClassMethods)
end