Class: DomoscioAdmin::AuthorizationToken::Manager

Inherits:
Object
  • Object
show all
Defined in:
lib/domoscio_admin/authorization_token.rb

Class Method Summary collapse

Class Method Details

.get_tokenObject



13
14
15
# File 'lib/domoscio_admin/authorization_token.rb', line 13

def get_token
  storage.get
end

.storageObject



5
6
7
# File 'lib/domoscio_admin/authorization_token.rb', line 5

def storage
  @@storage ||= FileStorage.new
end

.storage=(storage) ⇒ Object



9
10
11
# File 'lib/domoscio_admin/authorization_token.rb', line 9

def storage=(storage)
  @@storage = storage
end