Class: VmaApi::Endpoints::RefreshToken

Inherits:
VmaApi::Endpoint show all
Includes:
PartnerApi::Endpoints::Initializer
Defined in:
lib/vma_api/endpoints/refresh_token.rb

Constant Summary collapse

REFRESH_TOKEN =
'refreshToken'.freeze

Instance Method Summary collapse

Methods included from PartnerApi::Endpoints::Initializer

prepended

Methods inherited from PartnerApi::Endpoints::Base

#call

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