8000 update Readme · browserstack/ruby-browserstack@4e47aae · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e47aae

Browse files
committed
update Readme
1 parent 6dc962f commit 4e47aae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ Creates a new client instance.
3232
* `password`: The password for the BrowserStack account.
3333

3434
``` ruby
35-
settings = {username: "foo", password: "foobar"}
36-
client = Browserstack::Client.new(settings)
35+
client = Browserstack::Client.new(username: "foo", password: "foobar")
3736
```
3837

3938
###API
@@ -85,7 +84,7 @@ data = client.terminate_worker(worker_id)
8584
Determines whether the worker is in queue, running or terminated.
8685

8786
``` ruby
88-
worker = client.worker_status(worker_id)
87+
worker = client.get_worker_status(worker_id)
8988
```
9089

9190
* `worker`: A hash representing the current status of the worker and worker properties.

0 commit comments

Comments
 (0)
0