Created
August 24, 2014 15:06
-
-
Save techwhizbang/1bcaf9628a909b8a6b56 to your computer and use it in GitHub Desktop.
rack_api_versioning example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
map "/accounts" do | |
use RackApiVersioning::Middleware, :app_name => "awesome-app", :default_version => 1, :target_version => 2 | |
run AccountsController | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment