Module: Authenticator::Client
- Defined in:
- lib/authenticator/client.rb,
lib/authenticator/client/base.rb,
lib/authenticator/client/account.rb,
lib/authenticator/client/version.rb,
lib/authenticator/client/authenticate_response.rb
Defined Under Namespace
Classes: Account, AuthenticateResponse, Base
Constant Summary
collapse
- VERSION =
"0.0.2"
- @@configs =
{}
Class Method Summary
collapse
Class Method Details
.new(key) ⇒ Object
16
17
18
|
# File 'lib/authenticator/client.rb', line 16
def self.new(key)
Base.new(@@configs[key])
end
|
.register_config(key, config) ⇒ Object
12
13
14
|
# File 'lib/authenticator/client.rb', line 12
def self.register_config(key, config)
@@configs[key] = config
end
|