Ruby
Installation
gem 'promptjoy-ruby'bundle installgem install promptjoy-rubyUsage
require 'promptjoy-ruby'
client = PromptjoyRuby::Client.new('your_api_key')api = client.find_by_api_url('https://api.promptjoy.com/api/id')api = client.find('id')response = api.call({
key1: 'value1',
key2: 'value2'
})Example
Error Handling
Last updated