Sha256: 9fa0cb785b75b05765cb5e2e038f3fe4e2ea21a4d8b780478b6273c666479947
Contents?: true
Size: 700 Bytes
Versions: 7
Compression:
Stored size: 700 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_vms response = Excon::Response.new response.body = @virtual_guests response.status = 200 response end end class Real def get_vms request(:account, :get_virtual_guests, :query => 'objectMask=mask[datacenter,tagReferences,blockDevices,blockDeviceTemplateGroup.globalIdentifier,operatingSystem.passwords.password,primaryNetworkComponent.networkVlan]') end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems