Sha256: 83f446933dc9c754e2a07b164fb129c0aad6daf406224994bb096e74e6a8271a
Contents?: true
Size: 604 Bytes
Versions: 26
Compression:
Stored size: 604 Bytes
Contents
module Fog module Brightbox class Compute class Real def get_cloud_ip(identifier, options = {}) return nil if identifier.nil? || identifier == "" request( :expects => [200], :method => 'GET', :path => "/1.0/cloud_ips/#{identifier}", :headers => {"Content-Type" => "application/json"}, :body => options.to_json ) end end class Mock def get_cloud_ip(identifier, options = {}) Fog::Mock.not_implemented end end end end end
Version data entries
26 entries across 26 versions & 3 rubygems