Class: Booker::GenericTokenStore
- Inherits:
-
Object
- Object
- Booker::GenericTokenStore
- Defined in:
- lib/booker/generic_token_store.rb
Class Method Summary collapse
- .temp_access_token ⇒ Object
- .temp_access_token=(token) ⇒ Object
- .temp_access_token_expires_at ⇒ Object
- .temp_access_token_expires_at=(expires_at) ⇒ Object
- .update_booker_access_token!(token, expires_at) ⇒ Object
Class Method Details
.temp_access_token ⇒ Object
3 4 5 |
# File 'lib/booker/generic_token_store.rb', line 3 def self.temp_access_token @temp_access_token end |
.temp_access_token=(token) ⇒ Object
7 8 9 |
# File 'lib/booker/generic_token_store.rb', line 7 def self.temp_access_token=(token) @temp_access_token = token end |
.temp_access_token_expires_at ⇒ Object
11 12 13 |
# File 'lib/booker/generic_token_store.rb', line 11 def self.temp_access_token_expires_at @temp_access_token_expires_at end |
.temp_access_token_expires_at=(expires_at) ⇒ Object
15 16 17 |
# File 'lib/booker/generic_token_store.rb', line 15 def self.temp_access_token_expires_at=(expires_at) @temp_access_token_expires_at = expires_at end |
.update_booker_access_token!(token, expires_at) ⇒ Object
19 20 21 22 23 |
# File 'lib/booker/generic_token_store.rb', line 19 def self.update_booker_access_token!(token, expires_at) self.temp_access_token = token self.temp_access_token_expires_at = expires_at true end |