Class/Module Index [+]

Quicksearch

Fog::Compute::Ecloud::Rows

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.