# File lib/fog/ecloud/models/compute/rows.rb, line 11 def all data = service.get_layout(href).body[:Rows][:Row] load(data) end
# File lib/fog/ecloud/models/compute/rows.rb, line 27 def create(options = {}) options[:uri] = "#{service.base_path}/layoutRows/environments/#{environment_id}/action/createLayoutRow" data = service.rows_create(options).body new(data) end
# File lib/fog/ecloud/models/compute/rows.rb, line 33 def environment_id href.scan(/\d+/)[0] end
# File lib/fog/ecloud/models/compute/rows.rb, line 16 def get(uri) data = service.get_row(uri).body if data == "" nil else new(data) end rescue Excon::Errors::NotFound nil end