Class: Bravo::Authorizer

Inherits:
Object
  • Object
show all
Defined in:
lib/bravo/authorizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAuthorizer

Returns a new instance of Authorizer.



5
6
7
8
# File 'lib/bravo/authorizer.rb', line 5

def initialize
  @pkey = Bravo.pkey
  @cert = Bravo.cert
end

Instance Attribute Details

#certObject (readonly)

Returns the value of attribute cert.



3
4
5
# File 'lib/bravo/authorizer.rb', line 3

def cert
  @cert
end

#pkeyObject (readonly)

Returns the value of attribute pkey.



3
4
5
# File 'lib/bravo/authorizer.rb', line 3

def pkey
  @pkey
end