mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Fixed syntax error for Ruby SDK example
This commit is contained in:
		
							parent
							
								
									4a5b332567
								
							
						
					
					
						commit
						18c87cedf6
					
				| @ -5,14 +5,14 @@ title: Ruby SDK | ||||
| 
 | ||||
| > You will need your `API URL` and your `API token` in order to connect the Client SDK to you Unleash instance. You can find this information in the “Admin” section Unleash management UI. [Read more](../user_guide/api-token) | ||||
| 
 | ||||
| ```sh | ||||
|     require 'unleash' | ||||
| ```ruby | ||||
| require 'unleash' | ||||
| 
 | ||||
|     @unleash = Unleash::Client.new( | ||||
|       url: '<API url>', | ||||
|       app_name: 'simple-test', | ||||
|       custom_http_headers = {'Authorization': '<API token>'}, | ||||
|     ) | ||||
| @unleash = Unleash::Client.new( | ||||
|   url: '<API url>', | ||||
|   app_name: 'simple-test', | ||||
|   custom_http_headers: {'Authorization': '<API token>'}, | ||||
| ) | ||||
| ``` | ||||
| 
 | ||||
| ### Sample usage {#sample-usage} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user