Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 837aaf0484
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (18 sloc) 0.468 kb
require 'active_merchant/clickand_buy/request/base'
module ActiveMerchant::ClickandBuy::Request
class StatusRequest < Base
def initialize(auth, transaction_id)
super(auth)
@transaction_id = transaction_id
end
private
def details(xml)
xml.transactionIDList do
xml.transactionID @transaction_id
end
end
def extract_response_details(response)
response['transactionList']['transaction']
end
end
end
Jump to Line
Something went wrong with that request. Please try again.