antek-drzewiecki / wine_bouncer

A Ruby gem that allows Oauth2 protection with Doorkeeper for Grape Api's
MIT License
112 stars 58 forks source link

Strategy DSL improvement. #23

Closed antek-drzewiecki closed 9 years ago

antek-drzewiecki commented 9 years ago

This is an optimisation for the strategy DSL. By adding an base class it should be more easy to add your own strategy. Also it reduces the passing of parameters and reduces redundant code.