Sha256: ebdd66e6a7625939bbda1247e5c846fff4bf6e4e670ae279d16e4d53ba7493c4
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require 'money_s3/base_element' require 'money_s3/mena_type' module MoneyS3 class ValutyUhr include BaseElement def castka at :Castka end def mena submodel_at(MenaType, :Mena) end def to_h { castka: castka, mena: mena.to_h }.delete_if { |k, v| v.nil? || v.empty? } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.3.0 | lib/money_s3/valuty_uhr.rb |