lib/bs2_api/payment/async.rb in bs2_api-1.5.1 vs lib/bs2_api/payment/async.rb in bs2_api-1.6.0
- old
+ new
@@ -44,13 +44,15 @@
end
end
def initialize(
client_id: Bs2Api.configuration.client_id,
- client_secret: Bs2Api.configuration.client_secret
+ client_secret: Bs2Api.configuration.client_secret,
+ proxy: nil
)
@client_id = client_id
@client_secret = client_secret
+ @proxy = proxy
@requests = []
end
# Push request into the request bucker. This will not send the request.
# When Bs2Api::Payment::Async#call is called all requeststs from the bucket