Class: VmaApi::Endpoints::ClientCredentials
- Inherits:
-
VmaApi::Endpoint
- Object
- PartnerApi::Endpoints::Base
- VmaApi::Endpoint
- VmaApi::Endpoints::ClientCredentials
- 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
-
#initialize(tenant_id:, resource:, request_id: SecureRandom.uuid) ⇒ ClientCredentials
constructor
A new instance of ClientCredentials.
Methods included from PartnerApi::Endpoints::Initializer
Methods inherited from PartnerApi::Endpoints::Base
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 |