Class: Zaala::API::Rate
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Zaala::API::Rate
- Defined in:
- lib/zaala/api/types.rb
Class Method Summary collapse
Class Method Details
.from_message(h) ⇒ Object
515 516 517 518 519 520 521 |
# File 'lib/zaala/api/types.rb', line 515 def self.(h) Rate.new({ amount: h[:rateAmount], date: h[:rateDate], interest_amount: h[:interestAmount], }) end |