mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-04 00:18:40 +01:00
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com> Co-authored-by: Fredrik Oseberg <fredrik.no@gmail.com>
24 lines
612 B
Markdown
24 lines
612 B
Markdown
---
|
||
id: ruby_sdk
|
||
title: Ruby SDK
|
||
---
|
||
|
||
> **Required details**
|
||
>
|
||
> - **API URL** – Where you should connect your client SDK
|
||
> - **API Secret** – [Your API secret required to connect to your instance](../user_guide/api-token).
|
||
>
|
||
> You can find this information in the “Admin” section Unleash management UI.
|
||
|
||
```sh
|
||
require 'unleash'
|
||
|
||
@unleash = Unleash::Client.new(
|
||
url: '<API url>',
|
||
app_name: 'simple-test',
|
||
custom_http_headers = {'Authorization': '<Client secret>'},
|
||
)
|
||
```
|
||
|
||
Read more at [github.com/Unleash/unleash-client-ruby](https://github.com/Unleash/unleash-client-ruby)
|