Sha256: 0bc3c26b4c7d3aa501b60f56bb435068e04088541d00036fa7eb3eef0052ec28
Contents?: true
Size: 634 Bytes
Versions: 43
Compression:
Stored size: 634 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 route_global_ip(global_ip, destination_ip) # TODO: Implement. raise Fog::Errors::MockNotImplemented end end class Real def route_global_ip(global_ip_id, destination_ip_address) self.request(:network_subnet_ipaddress_global, "#{global_ip_id}/route", :body => destination_ip_address, :http_method => :post) end end end end end
Version data entries
43 entries across 41 versions & 3 rubygems