Module: Economy::Extensions::ActiveRecord::Base::ClassMethods

Defined in:
lib/economy/extensions/active_record/base.rb

Instance Method Summary collapse

Instance Method Details

#monetize(*attributes) ⇒ Object



9
10
11
12
# File 'lib/economy/extensions/active_record/base.rb', line 9

def monetize(*attributes)
  builder = Builder.new(self)
  builder.define attributes
end