Class: AhoSdk::Issuer::SuspendBatchResource Private
- Inherits:
-
Object
- Object
- AhoSdk::Issuer::SuspendBatchResource
- 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.
Suspend_batch resource operations
Instance Method Summary collapse
-
#create(body: nil, idempotency_key: nil) ⇒ Hash
private
Suspend multiple credentials.
-
#initialize(client) ⇒ SuspendBatchResource
constructor
private
A new instance of SuspendBatchResource.
Constructor Details
#initialize(client) ⇒ SuspendBatchResource
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 SuspendBatchResource.
245 246 247 |
# File 'lib/aho_sdk/issuer.rb', line 245 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.
Suspend multiple credentials
252 253 254 |
# File 'lib/aho_sdk/issuer.rb', line 252 def create(body: nil, idempotency_key: nil) @client.post("/v1/issuer/credentials/suspend_batch", body: body, idempotency_key: idempotency_key) end |