Module: CustomFields::Types::Money::Field
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/custom_fields/types/money.rb
Instance Method Summary collapse
Instance Method Details
#money_as_json(_options = {}) ⇒ Object
36 37 38 |
# File 'lib/custom_fields/types/money.rb', line 36 def money_as_json( = {}) money_to_recipe end |
#money_to_recipe ⇒ Object
31 32 33 34 |
# File 'lib/custom_fields/types/money.rb', line 31 def money_to_recipe { 'default_currency' => self.default_currency, 'allow_currency_from_symbol' => allow_currency_from_symbol } end |