Class/Module Index [+]

Quicksearch

ResourceLocking

Public Instance Methods

lock!() click to toggle source
# File lib/fog/brightbox/compute/resource_locking.rb, line 10
def lock!
  locking_request(:lock)
end
locked?() click to toggle source
# File lib/fog/brightbox/compute/resource_locking.rb, line 2
def locked?
  if attributes.key?("locked") || attributes.key?(:locked)
    attributes["locked"] || attributes[:locked] || false
  else
    false
  end
end
unlock!() click to toggle source
# File lib/fog/brightbox/compute/resource_locking.rb, line 14
def unlock!
  locking_request(:unlock)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.