Sha256: abe369f39a2b99e5864bf5fdd2aaf8775bed376188ebaf0a6dedaff188b85597
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
module MoneyS3 module Parsers class ParametrKartaType include ParserCore::BaseParser def parametr submodel_at(ParametrType, 'Parametr') end def poradi at 'Poradi' end def value at 'Value' end def to_h_with_attrs hash = ParserCore::HashWithAttributes.new({}, attributes) hash[:parametr] = parametr.to_h_with_attrs if has? 'Parametr' hash[:poradi] = poradi if has? 'Poradi' hash[:value] = value if has? 'Value' 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/parametr_karta_type.rb |
money_s3-0.11.0 | lib/money_s3/parsers/parametr_karta_type.rb |