Product Aggregator Ruby CLient
Description
A ruby gem to access Bukalapak's product detail
Owner
Contact and On-Call Information
Prerequisite
- Ruby 2.3.0 or later
Development
- Install gem
gem install product-aggregator-rb
or Using Gemfile
gem 'product-aggregator-rb'
Initate new configuration
require 'product-aggregator-rb' ProductAggregator.configure do |t| t.host = 'http://localhost:1234' t.user = 'user' t.password = 'password' end
Call the function
Get product by id and database origin ('readonly' or 'master'):
ProductAggregator::Connection.get_product(123, 'readonly')
On-Call Runbooks
refer to Core Team Wiki or contact [email protected]
FAQ
-