Sha256: 4421e27e34d62cf18be4b0748029dbeea6b25077c4b3a1c6445afeef358ab341
Contents?: true
Size: 507 Bytes
Versions: 4
Compression:
Stored size: 507 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class CenaType include BaseParser def limit at 'Limit' end def cena at 'Cena' end def sleva at 'Sleva' end def to_h_with_attrs hash = HashWithAttributes.new({}, attributes) hash[:limit] = limit if has? 'Limit' hash[:cena] = cena if has? 'Cena' hash[:sleva] = sleva if has? 'Sleva' hash end end end end
Version data entries
4 entries across 4 versions & 1 rubygems