Sha256: d0ef9fc2920014734fbcb4449430fdf70504e2a191b12ce13bc6665fa181f8f8
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 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 hash = WithAttributes.new({}) hash.attributes = attributes hash[:e_shop_id] = e_shop_id if has? 'eShopID' hash[:e_shop_name] = e_shop_name if has? 'eShopName' hash[:e_sale_id] = e_sale_id if has? 'eSaleID' 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/e_shop_info.rb |