File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Vapi Ruby Library
2
- [ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen )] ( https://github.com/fern-api/fern ) [ ![ Gem Version] ( https://img.shields.io/badge/vapi_server_sdk-red?logo=ruby )] ( https://rubygems.org/gems/vapi-server-sdk )
2
+ [ ![ fern shield] ( https://img.shields.io/badge/%F0%9F%8C%BF-SDK%20generated%20by%20Fern-brightgreen )] ( https://github.com/fern-api/fern ) [ ![ Gem Version] ( https://img.shields.io/badge/vapi_server_sdk-red?logo=ruby )] ( https://rubygems.org/gems/vapi_server_sdk )
3
3
4
4
The Vapi Ruby library provides access to the Vapi API from Ruby.
5
5
@@ -12,19 +12,19 @@ API reference documentation is available [here](https://docs.vapi.ai/).
12
12
Install the gem and add to the application's Gemfile by executing:
13
13
14
14
``` sh
15
- bundle add vapi-server-sdk
15
+ bundle add vapi_server_sdk
16
16
```
17
17
18
18
If bundler is not being used to manage dependencies, install the gem by executing:
19
19
20
20
``` sh
21
- gem install vapi-server-sdk
21
+ gem install vapi_server_sdk
22
22
```
23
23
24
24
## Usage
25
25
26
26
``` ruby
27
- require " vapi-server-sdk "
27
+ require " vapi_server_sdk "
28
28
29
29
client = Vapi ::Client .new (
30
30
token: ' YOUR_TOKEN'
@@ -37,7 +37,7 @@ result = client.calls.create()
37
37
The SDK exposes an async client that you can use to make non-blocking requests.
38
38
39
39
``` ruby
40
- require " vapi-server-sdk "
40
+ require " vapi_server_sdk "
41
41
42
42
client = Vapi ::AsyncClient .new (
43
43
token: ' YOUR_TOKEN'
You can’t perform that action at this time.
0 commit comments