Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
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:
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'
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 using -I
as follows:
ruby -Ilib script.rb
Please follow the installation procedure and then run the following code:
# Load the gem
require 'wine_shipping'
api_instance = WineShipping::InventoryApi.new
authentication_details = WineShipping::Authentication.new # Authentication |
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
All URIs are relative to https://wsservices-test.azurewebsites.net
Class | Method | HTTP request | Description |
---|---|---|---|
WineShipping::InventoryApi | get_inventory_details | POST /api/Inventory/GetDetails | |
WineShipping::InventoryApi | get_inventory_status | POST /api/Inventory/GetStatus | |
WineShipping::InventoryMovementApi | create_purchase_order | POST /api/InventoryMovement/CreatePurchaseOrder | |
WineShipping::InventoryMovementApi | create_transfer_order | POST /api/InventoryMovement/CreateTransferOrder | |
WineShipping::SKUApi | create_sku | POST /api/SKU/CreateSKU | |
WineShipping::SalesOrderApi | cancel_sales_order | POST /api/SalesOrder/CancelSalesOrder | |
WineShipping::SalesOrderApi | create_sales_order | POST /api/SalesOrder/CreateSalesOrder | |
WineShipping::SalesOrderApi | get_orders_on_hold | POST /api/SalesOrder/GetOrdersOnHold | |
WineShipping::SalesOrderApi | get_returns | POST /api/SalesOrder/GetReturns | |
WineShipping::SalesOrderApi | replace_sales_order | POST /api/SalesOrder/ReplaceSalesOrder | |
WineShipping::TrackingApi | get_details | POST /api/Tracking/GetDetails |
All endpoints do not require authorization.
FAQs
Unknown package
We found that wine_shipping demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.