Sha256: 6fa25a5acb61f4620bb8c680ebd61164eca27ad22182059cc17b6dd4f3613742

Contents?: true

Size: 187 Bytes

Versions: 12

Compression:

Stored size: 187 Bytes

Contents

class Service < ActiveRecord::Base

  attr_accessible :charge_cents, :discount_cents, :charge, :discount

  monetize :charge_cents, :with_currency => :usd

  monetize :discount_cents
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
money-rails-0.11.0 spec/dummy/app/models/service.rb
money-rails-0.10.0 spec/dummy/app/models/service.rb
money-rails-0.9.0 spec/dummy/app/models/service.rb
money-rails-0.8.1 spec/dummy/app/models/service.rb
money-rails-0.7.1 spec/dummy/app/models/service.rb
money-rails-0.7.0 spec/dummy/app/models/service.rb
money-rails-0.7.0.pre1 spec/dummy/app/models/service.rb
stocktrade-money-rails-0.6.0 spec/dummy/app/models/service.rb
money-rails-0.6.0 spec/dummy/app/models/service.rb
money-rails-0.5.0 spec/dummy/app/models/service.rb
money-rails-0.4.0 spec/dummy/app/models/service.rb
money-rails-0.3.1 spec/dummy/app/models/service.rb