Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

hmarr/codecube-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeCube Ruby Client Library

Gem Version

A Ruby client library for the codecube.io API

Installation

Add this line to your application's Gemfile:

gem 'codecube'

And then execute:

$ bundle

Or install it yourself as:

$ gem install codecube

Usage

Initialize with your API key:

CodeCube.api_key = ENV.fetch('CODECUBE_API_KEY')

Run code:

response = CodeCube.run_sync(language: "ruby", code: "puts 'hello!'")
puts response.text_output
# => hello!

About

Ruby API client library for codecube.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages