Ruby client library for Commerce.js by Chec
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
commerce.gemspec

README.md

Commerce.ruby by Chec

Ruby client library for Commerce.js by Chec

You can learn more about Commerce.js & Chec at https://commercejs.com.

Requirements

Ruby 2.0 or above.

Install

You can install this gem from Rubygems.org (https://rubygems.org/gems/commerce)

gem install commerce

Alternatively, you can download this source and build the gem

gem build commerce.gemspec

Getting Started

Simple usage looks like:

require 'commerce'

Commerce.Auth('sk_test_8146250gNZ8gddde480e07ac91c10c2651077176aed27')

products = Commerce.Product.all()

Documentation

Please see https://commercejs.com/docs/api