authzed-rb
authzed-rb copied to clipboard
Add LookupResources example
Fixes #74
Adds a comprehensive example demonstrating how to use LookupResources with streaming responses.
What's Included
- Complete working example in
examples/v1/lookup_resources.rb - Shows how to handle streaming
LookupResourcesResponse - Demonstrates collecting results into an array
- Includes examples for multiple permissions (read and write)
- Follows the same pattern as existing examples in the repo
The example clearly shows how to interact with the stream-based API and collect resource IDs.