Skip to content

Embloy/Embloy-Ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Embloy's Ruby SDK for interacting with your Embloy integration.

Usage

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)

Build Gem

gem build embloy.gemspec

Publish Gem

gem push embloy-0.x.y.gem

© Carlo Bortolan, Jan Hummel

Carlo Bortolan  ·  GitHub @carlobortolan  ·  contact via [email protected]

Jan Hummel  ·  GitHub @github4touchdouble  ·  contact via [email protected]

About

Embloy's Ruby SDK for interacting with your Embloy integration.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages