Module: Ssomg

Defined in:
lib/ssomg.rb,
lib/ssomg/engine.rb,
lib/ssomg/version.rb,
lib/ssomg/config/routes.rb,
lib/ssomg/controllers/api_controller.rb,
lib/ssomg/controllers/auth_controller.rb,
lib/ssomg/controllers/base_controller.rb,
lib/ssomg/controllers/root_controller.rb

Defined Under Namespace

Classes: ApiController, AuthController, BaseController, Engine, Error, RootController

Constant Summary collapse

VERSION =
"0.1.10"
@@PUB_KEY =
""

Class Method Summary collapse

Class Method Details

.configureObject



10
11
12
# File 'lib/ssomg/engine.rb', line 10

def self.configure
  @@PUB_KEY = OpenSSL::PKey::RSA.new( File.read( ENV["PUB_KEY_PATH"] ) )
end

.PUB_KEYObject



14
15
16
# File 'lib/ssomg/engine.rb', line 14

def self.PUB_KEY
  @@PUB_KEY
end