Class: VmaApi::Endpoints::ClientCredentials

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

Constant Summary collapse

VMA_CLIENT_CREDENTIALS =
'client_credentials'.freeze

Instance Method Summary collapse

Methods included from PartnerApi::Endpoints::Initializer

prepended

Methods inherited from PartnerApi::Endpoints::Base

#call

Constructor Details

#initialize(tenant_id:, resource:, request_id: SecureRandom.uuid) ⇒ ClientCredentials

Returns a new instance of ClientCredentials.



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

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