Sha256: f67ad0d6f7dabcc247c08dae094a1fa81a1e5a94c88b6a0004337ef251aa0d18
Contents?: true
Size: 647 Bytes
Versions: 25
Compression:
Stored size: 647 Bytes
Contents
# # Author:: Matt Eldridge (<matt.eldridge@us.ibm.com>) # © Copyright IBM Corporation 2014. # # LICENSE: MIT (http://opensource.org/licenses/MIT) # module Fog module Network class Softlayer class Mock def get_subnet(id) # TODO: Implement. raise Fog::Errors::MockNotImplemented end end class Real def get_subnet(id) self.request(:network_subnet, "#{id}/get_object", :query => 'objectMask=mask[datacenter,ipAddresses.id,virtualGuests.fullyQualifiedDomainName,virtualGuests.id,hardware.fullyQualifiedDomainName,hardware.id]') end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems