vrenaudineau / shipwire

Ruby bindings for http://www.shipwire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shipwire Gem

A Ruby interface to the Shipwire API.

Installation

gem install shipwire

Documentation

View detailed documentation on rdoc.info

Configuration

Setup your username and password before use

Shipwire.config do |config|
  config.username    = "email@example.com"
  config.password    = "000000000"
end

Rate Request

# create an order
order = Shipwire::Order.new
# add an address
order.address = {address1: '', city: '', country: 'GB'}
# add an item
o.add_item Shipwire::OrderItem.new('SKU0001', 1)

About

Ruby bindings for http://www.shipwire.com/

License:MIT License


Languages

Language:Ruby 100.0%