Class: Masks::Access::ActorScopes

Inherits:
Object
  • Object
show all
Includes:
Masks::Access
Defined in:
app/models/masks/access/actor_scopes.rb

Overview

Access class for actor.scopes

This access class can add or remove scopes from an actor.

Instance Method Summary collapse

Instance Method Details

#assign_scopes(scopes) ⇒ Object



13
14
15
# File 'app/models/masks/access/actor_scopes.rb', line 13

def assign_scopes(scopes)
  actor.assign_scopes!(*scopes)
end