Class: VmaApi::Endpoints::AccessToken

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

Constant Summary collapse

AUTH_TOKEN =
'authToken'.freeze

Instance Method Summary collapse

Methods included from PartnerApi::Endpoints::Initializer

prepended

Methods inherited from PartnerApi::Endpoints::Base

#call

Constructor Details

#initialize(short_token:, request_id: SecureRandom.uuid) ⇒ AccessToken

Returns a new instance of AccessToken.



10
11
12
13
# File 'lib/vma_api/endpoints/access_token.rb', line 10

def initialize(short_token:, request_id: SecureRandom.uuid)
  @short_token = short_token
  @request_id = request_id
end