Sha256: d4bd6b9133befad41aa714c11a9048418996cd4a2efe1df5c31598bda3c9e4d4
Contents?: true
Size: 410 Bytes
Versions: 1
Compression:
Stored size: 410 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/mena_type' module MoneyS3 module Parsers class ValutyHraz include BaseParser 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 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/valuty_hraz.rb |