lib/fog/digitalocean/models/compute/server.rb in fog-1.22.0 vs lib/fog/digitalocean/models/compute/server.rb in fog-1.22.1
- old
+ new
@@ -1,15 +1,13 @@
require 'fog/compute/models/server'
module Fog
module Compute
class DigitalOcean
-
# A DigitalOcean Droplet
#
class Server < Fog::Compute::Server
-
identity :id
attribute :name
attribute :state, :aliases => 'status'
attribute :image_id
attribute :region_id
@@ -174,11 +172,9 @@
# DigitalOcean API does not support updating server state
def update
msg = 'DigitalOcean servers do not support updates'
raise NotImplementedError.new(msg)
end
-
end
-
end
end
end