Skip to content

reertech/rock-solid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock Solid

rock-solid is a simple solid commerce API integration tool.

Installation

Add this line to your application's Gemfile:

gem 'rock-solid', git: 'https://github.com/reertech/rock-solid'

And then execute:

$ bundle

Usage

Configure it:

RockSolid.configure do |config|
  config.app_key = 'your solid commerce API app key'
  config.secret_key = 'your solid commerce API secret key'
end

Use it: Get all products from store:

RockSolid::Repositories::ListItem.new.find_by_list_name('store name')

Get product details:

RockSolid::Repositories::Product.new.get_details_by_id("product's sku")

Get all product images:

RockSolid::Repositories::ProductImage.new.get_all_by_sku("product's sku")

License

The gem is available as open source under the terms of the MIT License.

About

Solid Commerce Integration Gem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages