Sha256: b51c1e957c47e718d7d9dc2a255c825a5f1fa85227e90eb04339af48da981110
Contents?: true
Size: 522 Bytes
Versions: 1
Compression:
Stored size: 522 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class MenaType include BaseParser def kod at 'Kod' end def mnozstvi at 'Mnozstvi' end def kurs at 'Kurs' end def to_h hash = WithAttributes.new({}) hash.attributes = attributes hash[:kod] = kod if has? 'Kod' hash[:mnozstvi] = mnozstvi if has? 'Mnozstvi' hash[:kurs] = kurs if has? 'Kurs' 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/mena_type.rb |