Class: OutlookCalendar::RefreshToken
- Inherits:
-
Object
- Object
- OutlookCalendar::RefreshToken
- Defined in:
- lib/outlook_calendar/user/refresh_token.rb
Instance Attribute Summary collapse
-
#client_id ⇒ Object
readonly
Returns the value of attribute client_id.
-
#client_secret ⇒ Object
readonly
Returns the value of attribute client_secret.
-
#redirect_uri ⇒ Object
readonly
Returns the value of attribute redirect_uri.
-
#refresh_token ⇒ Object
readonly
Returns the value of attribute refresh_token.
-
#scope ⇒ Object
readonly
Returns the value of attribute scope.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(refresh_token, client_id, client_secret, scope, redirect_uri) ⇒ RefreshToken
constructor
A new instance of RefreshToken.
Constructor Details
#initialize(refresh_token, client_id, client_secret, scope, redirect_uri) ⇒ RefreshToken
Returns a new instance of RefreshToken.
5 6 7 8 9 10 11 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 5 def initialize(refresh_token, client_id, client_secret, scope, redirect_uri) @refresh_token = refresh_token @client_id = client_id @client_secret = client_secret @scope = scope @redirect_uri = redirect_uri end |
Instance Attribute Details
#client_id ⇒ Object (readonly)
Returns the value of attribute client_id.
3 4 5 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 3 def client_id @client_id end |
#client_secret ⇒ Object (readonly)
Returns the value of attribute client_secret.
3 4 5 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 3 def client_secret @client_secret end |
#redirect_uri ⇒ Object (readonly)
Returns the value of attribute redirect_uri.
3 4 5 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 3 def redirect_uri @redirect_uri end |
#refresh_token ⇒ Object (readonly)
Returns the value of attribute refresh_token.
3 4 5 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 3 def refresh_token @refresh_token end |
#scope ⇒ Object (readonly)
Returns the value of attribute scope.
3 4 5 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 3 def scope @scope end |
Instance Method Details
#call ⇒ Object
13 14 15 |
# File 'lib/outlook_calendar/user/refresh_token.rb', line 13 def call response end |