Class: Plasma::AuthServer

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/plasma/auth_server.rb

Overview

Handles OAuth authentication for PLASMA applications

Class Method Summary collapse

Class Method Details

.mark_ready_to_shutdownObject



19
20
21
# File 'lib/plasma/auth_server.rb', line 19

def self.mark_ready_to_shutdown
  @ready_to_shutdown = true
end

.ready_to_shutdown?Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/plasma/auth_server.rb', line 23

def self.ready_to_shutdown?
  @ready_to_shutdown ||= false
end