Skip to content

Commit

Permalink
Adds example for easily obtaining value
Browse files Browse the repository at this point in the history
Without having to look at the rspec.
  • Loading branch information
JJ authored Nov 18, 2018
1 parent 5b4373d commit 29faf2d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ In the event of a failure, the client will work to restore connectivity by cycli
# Get
conn.get('my')

# Get actual value
value = conn.get('my').kvs.first.value

# Get Key Range
conn.get('foo', range_end: 'foo80')

Expand Down

0 comments on commit 29faf2d

Please sign in to comment.