Exception: APIGuard::InsufficientScopeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/api/api_guard.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(scopes) ⇒ InsufficientScopeError


168
169
170
# File 'lib/api/api_guard.rb', line 168

def initialize(scopes)
  @scopes = scopes
end

Instance Attribute Details

#scopesObject (readonly)

Returns the value of attribute scopes


167
168
169
# File 'lib/api/api_guard.rb', line 167

def scopes
  @scopes
end