Class: Radiator::Type::Amount
- Inherits:
-
Hive::Type::Amount
- Object
- Hive::Type::Amount
- Radiator::Type::Amount
- Defined in:
- lib/radiator/type/amount.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Amount
constructor
A new instance of Amount.
Constructor Details
#initialize(options = {}) ⇒ Amount
Returns a new instance of Amount.
5 6 7 8 9 10 11 12 |
# File 'lib/radiator/type/amount.rb', line 5 def initialize( = {}) unless defined? @@deprecated_warning_shown warn "[DEPRECATED] Using Radiator::Type::Amount class provided is deprecated. Please use: Hive::Type::Amount" @@deprecated_warning_shown = true super(.merge(chain: :hive)) end end |