Sha256: 5d6ef940f5f2b1cce7b0dfa0643343a7bebf7e0f60e50764065ffc7cbd8fedbb
Contents?: true
Size: 719 Bytes
Versions: 4
Compression:
Stored size: 719 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class DalsiSazba include BaseParser def popis at 'Popis' end def hladina_dph at 'HladinaDPH' end def sazba at 'Sazba' end def zaklad at 'Zaklad' end def dph at 'DPH' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:popis] = popis if has? 'Popis' hash[:hladina_dph] = hladina_dph if has? 'HladinaDPH' hash[:sazba] = sazba if has? 'Sazba' hash[:zaklad] = zaklad if has? 'Zaklad' hash[:dph] = dph if has? 'DPH' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems