Module: NemID

Defined in:
lib/nemid.rb,
lib/nemid/ocsp.rb,
lib/nemid/crypto.rb,
lib/nemid/errors.rb,
lib/nemid/pid_cpr.rb,
lib/nemid/version.rb,
lib/nemid/xmldsig.rb,
lib/nemid/errors/app.rb,
lib/nemid/errors/can.rb,
lib/nemid/errors/lib.rb,
lib/nemid/errors/srv.rb,
lib/nemid/errors/auth.rb,
lib/nemid/errors/capp.rb,
lib/nemid/errors/lock.rb,
lib/nemid/errors/oces.rb,
lib/nemid/ocsp/errors.rb,
lib/nemid/configuration.rb,
lib/nemid/authentication.rb,
lib/nemid/xmldsig/document.rb,
lib/nemid/errors/validation.rb,
lib/nemid/authentication/params.rb,
lib/nemid/authentication/response.rb

Defined Under Namespace

Modules: Authentication, Errors, OCSP, XMLDSig Classes: Configuration, Crypto, Error, PIDCPR

Constant Summary collapse

VERSION =
"0.3.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



13
14
15
# File 'lib/nemid.rb', line 13

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



20
21
22
# File 'lib/nemid.rb', line 20

def self.configure
  yield(configuration)
end

.resetObject



24
25
26
# File 'lib/nemid.rb', line 24

def self.reset
  @configuration = Configuration.new
end