Skip to content

Instantly share code, notes, and snippets.

@underscorephil
Created October 22, 2013 19:52
Show Gist options
  • Save underscorephil/7107030 to your computer and use it in GitHub Desktop.
Save underscorephil/7107030 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'softlayer_api'
require 'net/https'
require 'pp'
require 'json'
order_client = SoftLayer::Service.new('SoftLayer_Product_Order',
:username => "",
:api_key => "")
object = {
'packageId' => 0,
'location' => 138124,
'prices' => [{'id' => 1178}],
}
pp(order_client.verifyOrder(object))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment