Sha256: 8e0e1dfa79e45882711501eeadf2fe5210b17f90960a99c0b09351b1b8ec74e7
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
# -*- encoding: utf-8 -*- module NissenCollect class Getauthor < Action attr_accessor :buyer @@transaction_path = 'direct/autogetauthor.do' # @bodyを初期化する # @param [Hash] body 生成時引数 def initialize super @buyer = Marshal.load(Marshal.dump(BUYER)) end # APIコールを行う def call body = [@@shopInfo,@buyer].inject {|union,hash| union.merge hash} connect = NissenCollect::Client.new connect.request('get',@@transaction_path,body) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nissen-collect-0.1.6 | lib/nissen-collect/getauthor.rb |