Sha256: 503dbadbbf43b1bfc24b6e579e510c750be4d5e33cc89b5c725347b0355a1a5a
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
module MoneyS3 module Parsers class StavZasobyType include ParserCore::BaseParser def zasoba at 'Zasoba' end def rezervace at 'Rezervace' end def objednano at 'Objednano' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:zasoba] = zasoba if has? 'Zasoba' hash[:rezervace] = rezervace if has? 'Rezervace' hash[:objednano] = objednano if has? 'Objednano' hash end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/parsers/stav_zasoby_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/stav_zasoby_type.rb |