We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41cd88f commit 671519aCopy full SHA for 671519a
lib/adyen/client.rb
@@ -287,6 +287,10 @@ def terminal_cloud_api
287
@terminal_cloud_api ||= Adyen::TerminalCloudAPI.new(self)
288
end
289
290
+ def pos_mobile
291
+ @pos_mobile ||= Adyen::PosMobile.new(self)
292
+ end
293
+
294
private
295
296
def auth_header(auth_type, faraday)
spec/client_spec.rb
@@ -272,4 +272,10 @@
272
expect(client.service_url('TerminalCloudAPI', 'connectedTerminals', nil))
273
.to eq('https://terminal-api-test.adyen.com/connectedTerminals')
274
275
276
+ it 'checks the creation of PosMobile sessions url' do
277
+ client = Adyen::Client.new(api_key: 'api_key', env: :test)
278
+ expect(client.service_url('PosMobile', 'sessions', nil))
279
+ .to eq('https://checkout-test.adyen.com/checkout/possdk/sessions')
280
281
0 commit comments