Class: Trulioo::API::Connection

Inherits:
Base
  • Object
show all
Defined in:
lib/trulioo/api/connection.rb

Overview

Trulioo::Connection manages the “Connection” API endpoints. These are used to test your connection to the Trulioo servers.

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Trulioo::API::Base

Instance Method Details

#say_hello(name = 'World') ⇒ Object



8
9
10
11
# File 'lib/trulioo/api/connection.rb', line 8

def say_hello(name = 'World')
  connection_namespace
  get("sayhello/#{name}")
end

#test_authenticationObject



13
14
15
16
# File 'lib/trulioo/api/connection.rb', line 13

def test_authentication
  connection_namespace
  get('testauthentication', auth: true)
end