Sha256: db015b86cd1369355d84c70741cd5c753993560ed0074dd4a495427d06bb7214
Contents?: true
Size: 573 Bytes
Versions: 43
Compression:
Stored size: 573 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_global_ip_address(id) # TODO: Implement. raise Fog::Errors::MockNotImplemented end end class Real def get_global_ip_address(id) self.request(:network_subnet_ipaddress_global, id, :query => 'objectMask=mask[ipAddress,destinationIpAddress]') end end end end end
Version data entries
43 entries across 41 versions & 3 rubygems