Class: XHP::HealthPlanet::OAuth::RequestToken

Inherits:
Object
  • Object
show all
Defined in:
lib/xhp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokenObject (readonly)

Returns the value of attribute access_token.



58
59
60
# File 'lib/xhp.rb', line 58

def access_token
  @access_token
end

#expires_inObject (readonly)

Returns the value of attribute expires_in.



58
59
60
# File 'lib/xhp.rb', line 58

def expires_in
  @expires_in
end

#refresh_tokenObject (readonly)

Returns the value of attribute refresh_token.



58
59
60
# File 'lib/xhp.rb', line 58

def refresh_token
  @refresh_token
end