A Ruby interface to the Shipwire API.
gem install shipwire
View detailed documentation on rdoc.info
Setup your username and password before use
Shipwire.config do |config|
config.username = "email@example.com"
config.password = "000000000"
end
# 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)