Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spohlenz/mongomodel-money
MongoModel compatibility for the Money gem
https://github.com/spohlenz/mongomodel-money
Last synced: 28 days ago
JSON representation
MongoModel compatibility for the Money gem
- Host: GitHub
- URL: https://github.com/spohlenz/mongomodel-money
- Owner: spohlenz
- License: mit
- Created: 2012-11-10T05:07:20.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-10T05:13:40.000Z (almost 12 years ago)
- Last Synced: 2024-03-15T05:22:09.078Z (8 months ago)
- Language: Ruby
- Size: 101 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MongoModel Money support
MongoModel support for the [RubyMoney](https://github.com/RubyMoney/money) gem.
## Installation
Add this line to your application's Gemfile:
gem 'mongomodel-money'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mongomodel-money
## Usage
class Product
property :price, Money
end## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request