Parent

Files

Class/Module Index [+]

Quicksearch

Fog::Compute::NewServers::Mock

Public Class Methods

data() click to toggle source
# File lib/fog/new_servers/compute.rb, line 24
def self.data
  @data ||= Hash.new do |hash, key|
    hash[key] = {}
  end
end
new(options={}) click to toggle source
# File lib/fog/new_servers/compute.rb, line 34
def initialize(options={})
  @new_server_username = options[:new_servers_username]
end
reset() click to toggle source
# File lib/fog/new_servers/compute.rb, line 30
def self.reset
  @data = nil
end

Public Instance Methods

data() click to toggle source
# File lib/fog/new_servers/compute.rb, line 38
def data
  self.class.data[@new_server_username]
end
reset_data() click to toggle source
# File lib/fog/new_servers/compute.rb, line 42
def reset_data
  self.class.data.delete(@new_server_username)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.