Sha256: 01b9cc9b6fe10f33145f85f7492c9fc69069cfb197d00c6ba18fe8f7d8c49fb3

Contents?: true

Size: 188 Bytes

Versions: 15

Compression:

Stored size: 188 Bytes

Contents

# coding: utf-8

class DummyMoneyWithFixedCurrency
  include Mongoid::Document
  include Mongoid::MoneyField

  field :description

  money_field :price, fixed_currency: 'GBP'
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mongoid_money_field-4.0.8 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.7 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.6 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.5 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.4 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.3 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.2 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-5.0.2 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-5.0.1 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-5.0.0 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.1 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-4.0.0 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-3.2.1 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-3.2.0 spec/support/dummy_money_with_fixed_currency.rb
mongoid_money_field-3.0.0 spec/support/dummy_money_with_fixed_currency.rb