Sha256: cf1e981e018739b45742c2d3993582a2908a89c99251106915b0dec9e1e1c1f8
Contents?: true
Size: 388 Bytes
Versions: 3
Compression:
Stored size: 388 Bytes
Contents
module Erede module Services class CaptureTransaction < ::Erede::Services::Base attr_accessor :transaction def initialize(store, transaction) super(store) self.transaction = transaction end def url "#{super}/#{transaction.tid}" end def execute send_request(PUT, transaction.to_json) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems