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



33
34
35
# File 'lib/domoscio_rails/authorization_token.rb', line 33

def get
  @@token ||= nil
end

#store(token) ⇒ Object



37
38
39
# File 'lib/domoscio_rails/authorization_token.rb', line 37

def store(token)
  @@token = token
end