Class: Masks::Actors::System
- Inherits:
-
Masks::ApplicationModel
- Object
- Masks::ApplicationModel
- Masks::Actors::System
- Includes:
- Masks::Actor
- Defined in:
- app/models/masks/actors/system.rb
Overview
Actor for system tasks.
Instance Method Summary collapse
Methods included from Masks::Actor
#actor_id, #anonymous?, #authenticate, #backup?, #factor2?, #password=, #session=, #session_key, #version
Methods included from Scoped
#role?, #role_records, #roles, #scope?
Instance Method Details
#mask! ⇒ Object
19 20 21 |
# File 'app/models/masks/actors/system.rb', line 19 def mask! true end |
#nickname ⇒ Object
11 12 13 |
# File 'app/models/masks/actors/system.rb', line 11 def nickname @nickname ||= "system:#{SecureRandom.hex}" end |
#scopes ⇒ Object
15 16 17 |
# File 'app/models/masks/actors/system.rb', line 15 def scopes [] end |