lib/nissen-collect/cancel.rb in nissen-collect-0.1.5 vs lib/nissen-collect/cancel.rb in nissen-collect-0.1.6
- old
+ new
@@ -7,10 +7,10 @@
# @bodyを初期化する
# @param [Hash] body 生成時引数
def initialize
super
- @transaction = TRANSACTION
+ @transaction = Marshal.load(Marshal.dump(TRANSACTION))
end
# APIコールを行う
def call
body = [@@shopInfo,@transaction].inject {|union,hash| union.merge hash}