Sha256: 7a18b4f5398c3aa05310f61cf8a86a9b5ce8ef110b3f5bfe66f69d90948fa164
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class KurzType include BaseParser def banka at 'Banka' end def datum at 'Datum' end def kod at 'Kod' end def zeme at 'Zeme' end def mnozstvi at 'Mnozstvi' end def nb_stred at 'NBStred' end def devizy_nakup at 'DevizyNakup' end def devizy_prodej at 'DevizyProdej' end def valuty_nakup at 'ValutyNakup' end def valuty_prodej at 'ValutyProdej' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:banka] = banka if has? 'Banka' hash[:datum] = datum if has? 'Datum' hash[:kod] = kod if has? 'Kod' hash[:zeme] = zeme if has? 'Zeme' hash[:mnozstvi] = mnozstvi if has? 'Mnozstvi' hash[:nb_stred] = nb_stred if has? 'NBStred' hash[:devizy_nakup] = devizy_nakup if has? 'DevizyNakup' hash[:devizy_prodej] = devizy_prodej if has? 'DevizyProdej' hash[:valuty_nakup] = valuty_nakup if has? 'ValutyNakup' hash[:valuty_prodej] = valuty_prodej if has? 'ValutyProdej' hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.6.0 | lib/money_s3/parsers/kurz_type.rb |