Class: VmaApi::Endpoints::RefreshToken
- Inherits:
-
VmaApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- VmaApi::Endpoint
- VmaApi::Endpoints::RefreshToken
- Includes:
- PartnerApi::Endpoints::Initializer
- Defined in:
- lib/vma_api/endpoints/refresh_token.rb
Constant Summary collapse
- REFRESH_TOKEN =
'refreshToken'.freeze
Instance Method Summary collapse
-
#initialize(refresh_token:, request_id: SecureRandom.uuid) ⇒ RefreshToken
constructor
A new instance of RefreshToken.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
Constructor Details
#initialize(refresh_token:, request_id: SecureRandom.uuid) ⇒ RefreshToken
Returns a new instance of RefreshToken.
10 11 12 13 |
# File 'lib/vma_api/endpoints/refresh_token.rb', line 10 def initialize(refresh_token:, request_id: SecureRandom.uuid) @refresh_token = refresh_token @request_id = request_id end |