Sha256: 19dda2cab756befd176e67a99fe81aca014833a22c5114113e553552efef5462
Contents?: true
Size: 491 Bytes
Versions: 4
Compression:
Stored size: 491 Bytes
Contents
# -*- encoding: utf-8 -*- module NissenCollect class Getauthor attr_accessor :body @@transaction_path = 'direct/autogetauthor.do' # @bodyを初期化する # @param [Hash] body 生成時引数 def initialize body=nil @body = body ? body : [SHOPINFO,BUYER].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