Sha256: 47e40da8bde5a08fc79ad5da9df5797be13c0233b1d19f4d53bd1cd07105393e
Contents?: true
Size: 466 Bytes
Versions: 1
Compression:
Stored size: 466 Bytes
Contents
require 'money_s3/parsers/base_parser' module MoneyS3 module Parsers class EShopInfo include BaseParser def e_shop_id at :eShopID end def e_shop_name at :eShopName end def e_sale_id at :eSaleID end def to_h { e_shop_id: e_shop_id, e_shop_name: e_shop_name, e_sale_id: e_sale_id }.delete_if { |k, v| v.nil? || v.empty? } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.4.0 | lib/money_s3/parsers/e_shop_info.rb |