Sha256: 78b8231fee9b88b12fd45eec34ab6b3c27836554eb2f5efd244672402acbb98b
Contents?: true
Size: 461 Bytes
Versions: 4
Compression:
Stored size: 461 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class VysledekOdesl include BaseParser def chyba at 'Chyba' end def varovani array_of_at(String, ['Varovani']) end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:chyba] = chyba if has? 'Chyba' hash[:varovani] = varovani if has? 'Varovani' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems