Sha256: ebce22e9b6ae0ecc5603a997e8ca9ca602cd7cdf2c0aecc5f39b7da53e984cc9
Contents?: true
Size: 704 Bytes
Versions: 8
Compression:
Stored size: 704 Bytes
Contents
# # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) # © Copyright IBM Corporation 2014. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # module Fog module Compute class Softlayer class Mock def get_bare_metal_servers response = Excon::Response.new response.body = @bare_metal_servers response.status = 200 response end end class Real def get_bare_metal_servers request(:account, :get_hardware, :query => 'objectMask=mask[datacenter,tagReferences,memory,processorCoreAmount,hardDrives,datacenter,hourlyBillingFlag,operatingSystem.passwords.password]') end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems