2019-07-30 23:29:24 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-02-01 13:15:35 -06:00
|
|
|
module GrapeDevise
|
|
|
|
end
|
|
|
|
|
2019-07-30 23:29:24 +02:00
|
|
|
require 'devise'
|
|
|
|
require 'grape'
|
|
|
|
require 'grape_devise/api'
|
2019-02-01 13:15:35 -06:00
|
|
|
|
|
|
|
Devise.helpers << GrapeDevise::API
|
|
|
|
Grape::Endpoint.send :include, GrapeDevise::API
|