Class: DomoscioAdmin::AuthorizationToken::Manager
- Inherits:
-
Object
- Object
- DomoscioAdmin::AuthorizationToken::Manager
- Defined in:
- lib/domoscio_admin/authorization_token.rb
Overview
Token Manager
Class Method Summary collapse
Class Method Details
.storage ⇒ Object
6 7 8 |
# File 'lib/domoscio_admin/authorization_token.rb', line 6 def storage @storage ||= DomoscioAdmin.configuration.file_storage ? FileStorage.new : ManualSetting.new end |
.token ⇒ Object
10 11 12 |
# File 'lib/domoscio_admin/authorization_token.rb', line 10 def token storage.get end |