Closed huskercane closed 9 years ago
I get following running example to order virtual server order
C:/Work/ruby-2.0.0-p481-x64-mingw32/lib/ruby/gems/2.0.0/gems/softlayer_api-3.0.0/lib/softlayer/VirtualServerOrder.rb:159 :in virtual_guest_template': undefined methodname' for {:name=>"lon02"}:Hash (NoMethodError) from C:/Work/ruby-2.0.0-p481-x64-mingw32/lib/ruby/gems/2.0.0/gems/softlayer_api-3.0.0/lib/softlayer/VirtualServe rOrder.rb:119:in `verify'
virtual_guest_template': undefined method
following fixes it
x = SoftLayer::Datacenter.datacenter_named('hou02', client) puts x server_order.datacenter = x
it was easier to just specify DC as string
I get following running example to order virtual server order
C:/Work/ruby-2.0.0-p481-x64-mingw32/lib/ruby/gems/2.0.0/gems/softlayer_api-3.0.0/lib/softlayer/VirtualServerOrder.rb:159 :in
virtual_guest_template': undefined method
name' for {:name=>"lon02"}:Hash (NoMethodError) from C:/Work/ruby-2.0.0-p481-x64-mingw32/lib/ruby/gems/2.0.0/gems/softlayer_api-3.0.0/lib/softlayer/VirtualServe rOrder.rb:119:in `verify'following fixes it
x = SoftLayer::Datacenter.datacenter_named('hou02', client) puts x server_order.datacenter = x
it was easier to just specify DC as string