Sha256: 0b163c03440e35e72c99e29f37b07937eebc3c50e398ae20bae7afb759c96afc
Contents?: true
Size: 466 Bytes
Versions: 1
Compression:
Stored size: 466 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 hash = {} hash[:limit] = limit if raw.key? :Limit hash[:cena] = cena if raw.key? :Cena hash[:sleva] = sleva if raw.key? :Sleva hash end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.5.0 | lib/money_s3/parsers/cena_type.rb |