Skip to content

Commit

Permalink
link documentation to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrias committed Oct 21, 2024
1 parent 7763fc7 commit 1c40331
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ And run `bundle install`

## Setting up your first resources

TODO
- [Check this project to see an example Sinatra based app using Resource Registry](examples/sinatra-pet-shelter)

## Similar projects

Expand Down
3 changes: 1 addition & 2 deletions examples/sinatra-pet-shelter/lib/resources/dogs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ class Dogs < Repository

# FIXME: Review `context`
sig { override.params(dto: ReadDto, context: T.untyped).returns(T::Array[Dog]) }
def read(dto:, context:)
end
def read(dto:, context:); end
end

0 comments on commit 1c40331

Please sign in to comment.