Class: VmaApi::Endpoints::AccessToken
- Inherits:
-
VmaApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- VmaApi::Endpoint
- VmaApi::Endpoints::AccessToken
- Includes:
- PartnerApi::Endpoints::Initializer
- Defined in:
- lib/vma_api/endpoints/access_token.rb
Constant Summary collapse
- AUTH_TOKEN =
'authToken'.freeze
Instance Method Summary collapse
-
#initialize(short_token:, request_id: SecureRandom.uuid) ⇒ AccessToken
constructor
A new instance of AccessToken.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
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 |