wine_shipping
WineShipping - the Ruby gem for the API from Wineshipping
Wineshipping API is a programmatically consumable service or an Application Programming Interface (API) platform designed to enable Wineshipping LLC's client applications to natively transmit and manage their order, view inventory, track shipments etc.
In order to access API operations request a UserKey and Password from Wineshipping. For any questions please contact Wineshipping Helpdesk at IT-Help@wineshipping.com.
This SDK is automatically generated by the Swagger Codegen project:
- API version: V3
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.RubyClientCodegen
Installation
Build a gem
To build the Ruby code into a gem:
gem build wine_shipping.gemspec
Then either install the gem locally:
gem install ./wine_shipping-1.0.0.gem
(for development, run gem install --dev ./wine_shipping-1.0.0.gem
to install the development dependencies)
or publish the gem to a gem hosting service, e.g. RubyGems.
Finally add this to the Gemfile:
gem 'wine_shipping', '~> 1.0.0'
Install from Git
If the Ruby gem is hosted at a git repository: https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:
gem 'wine_shipping', :git => 'https://github.com/YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'
Include the Ruby code directly
Include the Ruby code directly using -I
as follows:
ruby -Ilib script.rb
Getting Started
Please follow the installation procedure and then run the following code:
require 'wine_shipping'
api_instance = WineShipping::InventoryApi.new
authentication_details = WineShipping::Authentication.new
begin
result = api_instance.get_inventory_details(authentication_details)
p result
rescue WineShipping::ApiError => e
puts "Exception when calling InventoryApi->get_inventory_details: #{e}"
end
Documentation for API Endpoints
All URIs are relative to https://wsservices-test.azurewebsites.net
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.