Skip to content

Commit

Permalink
Fix Variable Value Syntax (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
leslie-lau authored Mar 8, 2024
1 parent f0fede9 commit 85ecd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sdk/server-side-sdks/ruby/ruby-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ to be fetched from DevCycle's CDN.
```ruby
begin
# Get value of given variable by key, using default value if segmentation is not passed or variable does not exit
result = devcycle_client.variable_value("variable-key", user, true)
result = devcycle_client.variable_value(user, "variable-key", true)
p "Received value for 'variable-key': #{result}"
rescue
puts "Exception when calling DevCycle::Client->variable_value"
Expand Down

0 comments on commit 85ecd55

Please sign in to comment.