Embloy's Ruby SDK for interacting with your Embloy integration.
Install Embloy-Ruby SDK:
gem install embloy
Integrate it in your service:
# In your Rails application or script
require 'embloy'
# Make sure to replace 'CLIENT_TOKEN' in your .env file with your actual client token
session = {
mode: "job",
job_slug: "job#1",
success_url: "mypage.com/success",
cancel_url: "mypage.com/failure"
}
client = Embloy::Client.new(ENV.fetch('CLIENT_TOKEN'), session)
redirect_url = client.make_request
redirect_to(redirect_url, allow_other_host: true)
gem build embloy.gemspec
gem push embloy-0.x.y.gem
© Carlo Bortolan, Jan Hummel
Carlo Bortolan · GitHub @carlobortolan · contact via bortolanoffice@embloy.com
Jan Hummel · GitHub @github4touchdouble · contact via hummeloffice@embloy.com