File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -287,6 +287,10 @@ def terminal_cloud_api
287
287
@terminal_cloud_api ||= Adyen ::TerminalCloudAPI . new ( self )
288
288
end
289
289
290
+ def pos_mobile
291
+ @pos_mobile ||= Adyen ::PosMobile . new ( self )
292
+ end
293
+
290
294
private
291
295
292
296
def auth_header ( auth_type , faraday )
Original file line number Diff line number Diff line change 272
272
expect ( client . service_url ( 'TerminalCloudAPI' , 'connectedTerminals' , nil ) )
273
273
. to eq ( 'https://terminal-api-test.adyen.com/connectedTerminals' )
274
274
end
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
+ end
275
281
end
You can’t perform that action at this time.
0 commit comments