Class: GrapeTokenAuth::PasswordAPI

Inherits:
Grape::API
  • Object
show all
Includes:
PasswordAPICore
Defined in:
lib/grape_token_auth/apis/password_api.rb

Overview

“Empty” Password API where OmniAuthAPICore is mounted, defaults to a :user resource class

Class Method Summary collapse

Methods included from PasswordAPICore

included

Class Method Details

.resource_scopeObject



128
129
130
# File 'lib/grape_token_auth/apis/password_api.rb', line 128

def resource_scope
  :user
end