Class: AhoSdk::Issuer::RevokeBatchResource Private
- Inherits:
-
Object
- Object
- AhoSdk::Issuer::RevokeBatchResource
- Defined in:
- lib/aho_sdk/issuer.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Revoke_batch resource operations
Instance Method Summary collapse
-
#create(body: nil, idempotency_key: nil) ⇒ Hash
private
Revoke multiple credentials.
-
#initialize(client) ⇒ RevokeBatchResource
constructor
private
A new instance of RevokeBatchResource.
Constructor Details
#initialize(client) ⇒ RevokeBatchResource
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of RevokeBatchResource.
229 230 231 |
# File 'lib/aho_sdk/issuer.rb', line 229 def initialize(client) @client = client end |
Instance Method Details
#create(body: nil, idempotency_key: nil) ⇒ Hash
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Revoke multiple credentials
236 237 238 |
# File 'lib/aho_sdk/issuer.rb', line 236 def create(body: nil, idempotency_key: nil) @client.post("/v1/issuer/credentials/revoke_batch", body: body, idempotency_key: idempotency_key) end |