Skip to content

feat: Add Ruby code generation target#28

Open
jiajiel1 wants to merge 1 commit intoxdevplatform:mainfrom
jiajiel1:feat/add-ruby-generation
Open

feat: Add Ruby code generation target#28
jiajiel1 wants to merge 1 commit intoxdevplatform:mainfrom
jiajiel1:feat/add-ruby-generation

Conversation

@jiajiel1
Copy link

@jiajiel1 jiajiel1 commented Mar 5, 2026

Adding Ruby gem support to this.

Some test ruby code using oauth 1

require "xdk"

oauth1_config = {
  api_key: "",
  api_secret: "",
  access_token: "",
  access_token_secret: "",
}

client = Xdk::Client.new(
  api_key: oauth1_config[:api_key],
  api_secret: oauth1_config[:api_secret],
  access_token: oauth1_config[:access_token],
  access_token_secret: oauth1_config[:access_token_secret],
)

# Get the authenticated user
me = client.users.get_me
user_id = me.dig("data", "id")
puts "User ID: #{user_id}"

@CLAassistant
Copy link

CLAassistant commented Mar 5, 2026

CLA assistant check
All committers have signed the CLA.

@jiajiel1 jiajiel1 force-pushed the feat/add-ruby-generation branch from 45ba593 to 211d3b0 Compare March 5, 2026 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants