lib/fog/ecloud/models/compute/layout.rb in fog-1.8.0 vs lib/fog/ecloud/models/compute/layout.rb in fog-1.9.0
- old
+ new
@@ -6,10 +6,10 @@
attribute :type, :aliases => :Type
attribute :other_links, :aliases => :Links
def rows
- @rows = Fog::Compute::Ecloud::Rows.new(:connection => connection, :href => href)
+ @rows ||= self.service.rows(:href => href)
end
def id
href.scan(/\d+/)[0]
end