@@ -8,7 +8,7 @@ module Device
8
8
post : {
9
9
open_notifications : 'session/:session_id/appium/device/open_notifications' ,
10
10
shake : 'session/:session_id/appium/device/shake' ,
11
- launch : 'session/:session_id/appium/app/launch' ,
11
+ launch_app : 'session/:session_id/appium/app/launch' ,
12
12
close_app : 'session/:session_id/appium/app/close' ,
13
13
reset : 'session/:session_id/appium/app/reset' ,
14
14
toggle_airplane_mode : 'session/:session_id/appium/device/toggle_airplane_mode' ,
@@ -33,7 +33,7 @@ module Device
33
33
34
34
# @!method current_activity
35
35
36
- # @!method launch
36
+ # @!method launch_app
37
37
# Start the simulator and applicaton configured with desired capabilities
38
38
39
39
# @!method reset
@@ -128,15 +128,15 @@ def lock(duration)
128
128
end
129
129
end
130
130
131
- add_endpoint_method ( :install , 'session/:session_id/appium/device/install_app' ) do
132
- def install ( path )
133
- execute :install , { } , :appPath => path
131
+ add_endpoint_method ( :install_app , 'session/:session_id/appium/device/install_app' ) do
132
+ def install_app ( path )
133
+ execute :install_app , { } , :appPath => path
134
134
end
135
135
end
136
136
137
- add_endpoint_method ( :remove , 'session/:session_id/appium/device/remove_app' ) do
138
- def remove ( id )
139
- execute :remove , { } , :appId => id
137
+ add_endpoint_method ( :remove_app , 'session/:session_id/appium/device/remove_app' ) do
138
+ def remove_app ( id )
139
+ execute :remove_app , { } , :appId => id
140
140
end
141
141
end
142
142
0 commit comments