Skip to content

Adding support for devise authentication in grape applications

License

Notifications You must be signed in to change notification settings

wuwx/grape_devise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrapeDevise

Build Status

GrapeDevise is a plugin for adding support for devise helpers in grape APIs.

Usage

The GrapeDevise API can be used inside of Grape request blocks (ie. get, post).

class MyAPI < Grape::API
    get "/requires-authentication" do
        authenticate_user!
    end
    
    get "/who-am-i" do
        current_user
    end
end

About

Adding support for devise authentication in grape applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 87.1%
  • HTML 10.2%
  • JavaScript 1.4%
  • CSS 1.3%