lib/fog/terremark/models/shared/internetservice.rb in fog-1.22.0 vs lib/fog/terremark/models/shared/internetservice.rb in fog-1.22.1
- old
+ new
@@ -1,13 +1,11 @@
require 'fog/core/model'
module Fog
module Terremark
module Shared
-
class InternetService < Fog::Model
-
identity :Id
attribute :Name
attribute :Port
attribute :Protocol
@@ -56,12 +54,13 @@
def href=(new_href)
self.id = new_href.split('/').last.to_i
end
def type=(new_type); @type = new_type; end
+
def size=(new_size); @size = new_size; end
- def Links=(new_links); @Links = new_links; end
+ def Links=(new_links); @Links = new_links; end
end
end
end
end