Class: AhoSdk::Issuer::SuspendBatchResource Private

Inherits:
Object
  • Object
show all
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

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

Returns:

  • (Hash)


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