Turnkey offers native tooling for interacting with the API using Ruby. See https://github.com/tkhq/ruby-sdk for more details.
turnkey_client
to interact with the Turnkey API.
turnkey_client
, install it with bundler:
require
it in Ruby files to use it:
config/initializers/turnkey.rb
file:
turnkey_client
turnkey_client
. To update this gem:
turnkey_client_inputs
gemVersion
in config.json
make
openssl
as a dependency to load API keysX-Stamp
headers to requests for authenticationconfigure
function to require a valid P256 public/private key pair at initialization timeturnkey_client
If you want to update templates with upstream this is a bit harder but possible: these templates were downloaded from this folder (this is a permalink to the right git SHA). You can see all the changes made to these by looking at the history of changes in the templates folder: https://github.com/tkhq/ruby-sdk/commits/main/turnkey_client_inputs/templates.