Modules: ClassMethods
Returns:
13 14 15
# File 'lib/devise_ott/models/ott_authentication.rb', line 13 def ott_allowed?(token, resource_id) DeviseOtt::Tokens.instance.access(token, resource_id) end