Sha256: db8918f278bdb789fe34d4dced3ea6d6ffaabcc1d2ab61890f014fa72597d9b8
Contents?: true
Size: 518 Bytes
Versions: 4
Compression:
Stored size: 518 Bytes
Contents
# -*- encoding: utf-8 -*- module NissenCollect class Modifytransaction attr_accessor :body @@transaction_path = 'direct/automodifytransaction.do' # @bodyを初期化する # @param [Hash] body 生成時引数 def initialize body=nil @body = body ? body : [SHOPINFO,BUYER,DELIVERIES].inject {|union,hash| union.merge hash} end # APIコールを行う def call connect = NissenCollect::Client.new connect.request('get',@@transaction_path,@body) end end end
Version data entries
4 entries across 4 versions & 1 rubygems