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