https://github.com/chec/commerce.ruby
Ruby client library for Commerce.js by Chec
https://github.com/chec/commerce.ruby
ecommerce ruby-gem shopping-cart
Last synced: over 1 year ago
JSON representation
Ruby client library for Commerce.js by Chec
- Host: GitHub
- URL: https://github.com/chec/commerce.ruby
- Owner: chec
- License: mit
- Created: 2016-11-28T23:31:10.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-03-01T12:38:17.000Z (over 4 years ago)
- Last Synced: 2024-04-24T19:18:43.836Z (about 2 years ago)
- Topics: ecommerce, ruby-gem, shopping-cart
- Language: Ruby
- Homepage: https://commercejs.com
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)
```bash
gem install commerce
```
Alternatively, you can download this source and build the gem
```ruby
gem build commerce.gemspec
```
## Getting Started
Simple usage looks like:
```ruby
require 'commerce'
Commerce.Auth('sk_test_8146250gNZ8gddde480e07ac91c10c2651077176aed27')
products = Commerce.Product.all()
```
## Documentation
Please see https://commercejs.com/docs/api