0.0
No release in over 3 years
Low commit activity in last 3 years
This gem contains the tools you need to test your Ruby back-end integration.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 13.0
~> 3.5
~> 0.17.1
~> 3.3
~> 0.9
~> 0.9

Runtime

~> 1.7
 Project Readme

Yoti Ruby Sandbox SDK

Build Status Coverage Bugs Code Smells Vulnerabilities

This repository contains the tools you need to test your Yoti integration.

Installing the Sandbox

To import the Yoti Sandbox SDK inside your project, add this line to your application's Gemfile:

gem 'yoti_sandbox'

And then execute:

bundle install

Or simply run the following command from your terminal:

gem install yoti_sandbox

Configuration

  • SANDBOX_CLIENT_SDK_ID is the Sandbox SDK identifier generated by Yoti Hub from the Sandbox section. This is different to the Client SDK ID for your application.

  • /path/to/your-pem-file.pem is the path to the application pem file. It can be downloaded only once from the Keys tab in your Yoti Hub.

Please do not open the pem file as this might corrupt the key and you will need to create a new application.

require 'yoti_sandbox'

Yoti.configure do |config|
  config.client_sdk_id = 'SANDBOX_CLIENT_SDK_ID'
  config.key_file_path = '/path/to/your-pem-file.pem'
  config.api_endpoint = 'https://api.yoti.com/sandbox/v1'
end

Examples