Class: XHP::HealthPlanet::OAuth::RequestToken
- Inherits:
-
Object
- Object
- XHP::HealthPlanet::OAuth::RequestToken
- Defined in:
- lib/xhp.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
readonly
Returns the value of attribute access_token.
-
#expires_in ⇒ Object
readonly
Returns the value of attribute expires_in.
-
#refresh_token ⇒ Object
readonly
Returns the value of attribute refresh_token.
Instance Method Summary collapse
-
#initialize(access_token, expires_in, refresh_token) ⇒ RequestToken
constructor
A new instance of RequestToken.
Constructor Details
#initialize(access_token, expires_in, refresh_token) ⇒ RequestToken
Returns a new instance of RequestToken.
60 61 62 |
# File 'lib/xhp.rb', line 60 def initialize(access_token, expires_in, refresh_token) @access_token, @expires_in, @refresh_token = access_token, expires_in, refresh_token end |
Instance Attribute Details
#access_token ⇒ Object (readonly)
Returns the value of attribute access_token.
58 59 60 |
# File 'lib/xhp.rb', line 58 def access_token @access_token end |
#expires_in ⇒ Object (readonly)
Returns the value of attribute expires_in.
58 59 60 |
# File 'lib/xhp.rb', line 58 def expires_in @expires_in end |
#refresh_token ⇒ Object (readonly)
Returns the value of attribute refresh_token.
58 59 60 |
# File 'lib/xhp.rb', line 58 def refresh_token @refresh_token end |