Sha256: 97712cd29957d722071a6e24ca98fadea526c89b5db0ebaba0123052077099be
Contents?: true
Size: 441 Bytes
Versions: 1
Compression:
Stored size: 441 Bytes
Contents
require 'money_s3/parsers/base_parser' require 'money_s3/parsers/mena_type' module MoneyS3 module Parsers class ValutyUhr include BaseParser def castka at :Castka end def mena submodel_at(MenaType, :Mena) end def to_h hash = {} hash[:castka] = castka if raw.key? :Castka hash[:mena] = mena.to_h if raw.key? :Mena hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/parsers/valuty_uhr.rb |