Module: Bean::Machine
- Included in:
- Payment
- Defined in:
- lib/bean/machine.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 |
# File 'lib/bean/machine.rb', line 3 def self.included(base) base.class_eval do include InstanceMethods has_many :transfers, :as => :accountable, :class_name => 'Bean::Transfer', :order => 'id DESC' end end |