class Norma43::Models::AdditionalCurrency

Attributes

amount[RW]
currency_code[RW]
data_code[RW]
free[RW]

Public Class Methods

new(attributes = EMPTY_ATTRIBUTES) click to toggle source
# File lib/norma43/models/additional_currency.rb, line 10
def initialize(attributes = EMPTY_ATTRIBUTES)
  @data_code,
  @currency_code,
  @amount,
  @free = Hash(attributes).values_at(
    :data_code,
    :currency_code,
    :amount,
    :free)
end