Class: HonestRenter::Authenticator
- Inherits:
-
Object
- Object
- HonestRenter::Authenticator
show all
- Defined in:
- lib/authenticator.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of Authenticator.
13
14
15
|
# File 'lib/authenticator.rb', line 13
def initialize(*args)
after_initialize(*args)
end
|
Class Method Details
.from_address_and_password(address, password) ⇒ Object
.from_secret_key_member_id(secret_key, member_id) ⇒ Object
Instance Method Details
#renew! ⇒ Object
21
22
23
24
|
# File 'lib/authenticator.rb', line 21
def renew!
@session = nil
session
end
|
#session ⇒ Object
17
18
19
|
# File 'lib/authenticator.rb', line 17
def session
@session ||= build_session
end
|