Class: AhoSdk::Issuer::ReinstateBatchResource 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.

Reinstate_batch resource operations

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ ReinstateBatchResource

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 ReinstateBatchResource.



261
262
263
# File 'lib/aho_sdk/issuer.rb', line 261

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.

Reinstate multiple credentials

Returns:

  • (Hash)


268
269
270
# File 'lib/aho_sdk/issuer.rb', line 268

def create(body: nil, idempotency_key: nil)
  @client.post("/v1/issuer/credentials/reinstate_batch", body: body, idempotency_key: idempotency_key)
end