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