Class: AhoSdk::Verifier::PresentationsResource Private

Inherits:
Object
  • Object
show all
Defined in:
lib/aho_sdk/verifier.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.

Presentations resource operations

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ PresentationsResource

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



50
51
52
# File 'lib/aho_sdk/verifier.rb', line 50

def initialize(client)
  @client = client
end

Instance Method Details

#verify(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.

Verify a presentation

Returns:

  • (Hash)


57
58
59
# File 'lib/aho_sdk/verifier.rb', line 57

def verify(body: nil, idempotency_key: nil)
  @client.post("/v1/verifier/presentations/verify", body: body, idempotency_key: idempotency_key)
end