Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rms_api_ruby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rms_api_ruby

  • 0.5.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RmsApiRuby

Gem Version CircleCI

RmsApiRuby is a ruby gem for the RMS(Rakuten Marchant Service) Web API. By default all API calls will return Hashie::Mash objects.
At this time the APIs this gem supports are as follows.

Support

  • OrderAPI
  • InventoryAPI
  • ItemAPI
  • ProductAPI
  • NavigationAPI
  • RakutenPayOrderAPI

Not Support yet

  • CabinetAPI
  • CategoryAPI
  • CouponAPI
  • ShopManagimentAPI
  • System Event Notification Service
  • PaymentAPI

Installation

Add this line to your application's Gemfile:

gem 'rms_api_ruby'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rms_api_ruby

Usage

Configuration

You can set the service secret, license key, shop url in environment variables:

export RMS_API_SERVICE_SECRET="Your RMS service secret"
export RMS_API_LICENSE_KEY="Your RMS license key"
export RMS_API_SHOP_URL="Your RMS shop url"

Or can set any of the options via this way

RmsApiRuby.configure do |config|
  config.service_secret         = 'Your RMS service secret'
  config.license_key            = 'Your RMS license key'
  config.shop_url               = 'Your RMS shop url'
  config.user_name              = 'user name'              # default 'rms_api_ruby'
  config.order_api_version      = 'Order API version'      # default 1.0
  config.inventory_api_version  = 'Inventory API version'  # default 1.0
  config.item_api_version       = 'Item API version'       # default 1.0
  config.product_api_version    = 'Product API version'    # default 2.0
  config.navigation_api_version = 'Navigation API version' # default 1.0
  config.rakuten_pay_order_api_version = 'RakutenPayOrder API version' # default 2.0
end

Examples

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Kaicoh/rms_api_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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

Code of Conduct

  1. Fork it ( https://github.com/Kaicoh/rms_api_ruby/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

FAQs

Package last updated on 04 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc