From aa4dfb91ba944dd8d862ce6e6415914dbba46192 Mon Sep 17 00:00:00 2001 From: Robyn MacCallum Date: Mon, 11 Mar 2024 14:56:25 -0400 Subject: [PATCH] Update example.rb with state --- languages/ruby/examples/example.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/ruby/examples/example.rb b/languages/ruby/examples/example.rb index 3c8e2045d..d1c7ce455 100644 --- a/languages/ruby/examples/example.rb +++ b/languages/ruby/examples/example.rb @@ -3,6 +3,7 @@ token = ENV['ACCESS_TOKEN'] organization_id = ENV['ORGANIZATION_ID'] +state_path = ENV['STATE_PATH'] # Configuring the URLS is optional, set them to nil to use the default values api_url = ENV['API_URL'] @@ -11,7 +12,7 @@ bitwarden_settings = BitwardenSDKSecrets::BitwardenSettings.new(api_url, identity_url) bw_client = BitwardenSDKSecrets::BitwardenClient.new(bitwarden_settings) -response = bw_client.access_token_login(token) +response = bw_client.access_token_login(token, state_path) puts response # CREATE project