# File lib/fog/ecloud/models/compute/rows.rb, line 12 def all data = connection.get_layout(href).body[:Rows][:Row] load(data) end
# File lib/fog/ecloud/models/compute/rows.rb, line 25 def create(options = {}) options[:uri] = "/cloudapi/ecloud/layoutRows/environments/#{environment_id}/action/createLayoutRow" data = connection.rows_create(options).body new(data) end
# File lib/fog/ecloud/models/compute/rows.rb, line 31 def environment_id href.scan(%r\d+/)[0] end
# File lib/fog/ecloud/models/compute/rows.rb, line 17 def get(uri) if data = connection.get_row(uri) new(data.body) end rescue Fog::Errors::NotFound nil end