Class: DomoscioViz::AuthorizationToken::Manager

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

Class Method Summary collapse

Class Method Details

.get_tokenObject



14
15
16
# File 'lib/domoscio_viz/authorization_token.rb', line 14

def get_token
  storage.get
end

.storageObject



6
7
8
# File 'lib/domoscio_viz/authorization_token.rb', line 6

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

.storage=(storage) ⇒ Object



10
11
12
# File 'lib/domoscio_viz/authorization_token.rb', line 10

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