Class: Money
- Inherits:
-
Object
- Object
- Money
- Extended by:
- BlankMongoizing
- Defined in:
- lib/workarea/ext/freedom_patches/money.rb
Defined Under Namespace
Modules: BlankMongoizing
Instance Method Summary collapse
Methods included from BlankMongoizing
Instance Method Details
#as_json ⇒ Object
15 16 17 |
# File 'lib/workarea/ext/freedom_patches/money.rb', line 15 def as_json(*) Money.mongoize(self) end |
#to_json ⇒ Object
19 20 21 |
# File 'lib/workarea/ext/freedom_patches/money.rb', line 19 def to_json(*) as_json.to_json end |