Sha256: d6a27e8297ba877ece003c7ff7af9537c98959693da6a39f51896533eb5c1b7b
Contents?: true
Size: 471 Bytes
Versions: 1
Compression:
Stored size: 471 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 hash = WithAttributes.new({}) hash.attributes = attributes hash[:chyba] = chyba if has? 'Chyba' hash[:varovani] = varovani if has? 'Varovani' 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/vysledek_odesl.rb |