1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/brightbox/requests/compute/create_cloud_ip.rb
Paul Thornthwaite b87c9445f9 [Brightbox] Fixes cloud IP options default
Originally defaulted as `nil` which meant options could not be trusted
as such in the `request` code.
2012-11-01 17:49:54 +00:00

13 lines
209 B
Ruby

module Fog
module Compute
class Brightbox
class Real
def create_cloud_ip(options = {})
request("post", "/1.0/cloud_ips", [201], options)
end
end
end
end
end