Class: DomoscioRails::AuthorizationToken::StaticStorage

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

Instance Method Summary collapse

Instance Method Details

#getObject



19
20
21
# File 'lib/domoscio_rails/authorization_token.rb', line 19

def get
  @@token ||= nil
end

#store(token) ⇒ Object



23
24
25
# File 'lib/domoscio_rails/authorization_token.rb', line 23

def store(token)
  @@token = token
end