Sha256: 9a53780865f2d26b641ef179117c2769bab83c07f4794e8f7daf9add0adddf83
Contents?: true
Size: 449 Bytes
Versions: 7
Compression:
Stored size: 449 Bytes
Contents
module AdaptivePayments class CurrencyConversion < JsonModel attribute :from, Node[CurrencyType] attribute :to, Node[CurrencyType] attribute :exchange_rate, Decimal, :param => "exchangeRate" alias_params :from, { :from_currency_amount => :amount, :from_currency_code => :code } alias_params :to, { :to_currency_amount => :amount, :to_currency_code => :code } end end
Version data entries
7 entries across 7 versions & 2 rubygems