varvet / pundit

Minimal authorization through OO design and pure Ruby classes
MIT License
8.22k stars 625 forks source link

Remove Struct inheritance from headless policy example #717

Closed drewmoore closed 2 years ago

drewmoore commented 2 years ago

This addresses #696. Rubocop advises against inheriting from Struct, and my team found that we could simply remove this and achieve the same results. Thanks for your review.

Burgestrand commented 2 years ago

Thank you!