Feat/add ruby sdk (#583)

This commit is contained in:
crazywoola
2023-07-18 10:18:58 +08:00
committed by GitHub
parent ecd6cbaee6
commit cb6e73347e
15 changed files with 460 additions and 2 deletions

15
sdks/ruby-client/bin/console Executable file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "bundler/setup"
require "dify_client"
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start
require "irb"
IRB.start(__FILE__)