Class: Morale::Authorization
- Inherits:
-
Object
- Object
- Morale::Authorization
- Defined in:
- lib/morale/authorization.rb
Class Method Summary collapse
Class Method Details
.client ⇒ Object
6 7 8 |
# File 'lib/morale/authorization.rb', line 6 def client Morale::Client.new(Morale::Account.subdomain, Morale::Account.api_key) end |
.login ⇒ Object
10 11 12 13 |
# File 'lib/morale/authorization.rb', line 10 def login Morale::Account.delete_credentials Morale::Account.get_credentials end |
.retry_login? ⇒ Boolean
15 16 17 |
# File 'lib/morale/authorization.rb', line 15 def retry_login? Morale::Account.retry_login? end |