Sha256: 2373c34bcea3b7007be0793c7390f7b88527181c0c1ab7c6822eb2ca788d17cd
Contents?: true
Size: 508 Bytes
Versions: 4
Compression:
Stored size: 508 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class Stredisko include BaseParser def zkrat at 'Zkrat' end def nazev at 'Nazev' end def pozn at 'Pozn' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:zkrat] = zkrat if has? 'Zkrat' hash[:nazev] = nazev if has? 'Nazev' hash[:pozn] = pozn if has? 'Pozn' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems