Sha256: f00a12294d4a9511b52a66e36616f807fbcca1beac37113a82bf8079cf6b5863
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class AdresaType include BaseParser def ulice at 'Ulice' end def misto at 'Misto' end def psc at 'PSC' end def stat at 'Stat' end def kod_statu at 'KodStatu' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:ulice] = ulice if has? 'Ulice' hash[:misto] = misto if has? 'Misto' hash[:psc] = psc if has? 'PSC' hash[:stat] = stat if has? 'Stat' hash[:kod_statu] = kod_statu if has? 'KodStatu' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems