# File lib/fog/ecloud/models/compute/row.rb, line 35 def create_group(options = {}) options[:uri] = "/cloudapi/ecloud/layoutGroups/environments/#{environment_id}/action/createLayoutGroup" options[:row_name] = name options[:href] = href data = service.groups_create(options).body group = self.service.groups.new(data) end
# File lib/fog/ecloud/models/compute/row.rb, line 31 def delete service.rows_delete(href).body end
# File lib/fog/ecloud/models/compute/row.rb, line 16 def edit(options) options[:uri] = href service.rows_edit(options).body end
# File lib/fog/ecloud/models/compute/row.rb, line 43 def environment_id reload if other_links.nil? other_links[:Link][:href].scan(/\d+/)[0] end
# File lib/fog/ecloud/models/compute/row.rb, line 12 def groups @groups = self.service.groups(:href => href) end
# File lib/fog/ecloud/models/compute/row.rb, line 48 def id href.scan(/\d+/)[0] end
Generated with the Darkfish Rdoc Generator 2.