Parent

Included Modules

Class/Module Index [+]

Quicksearch

Fog::CDN::HP::Mock

Public Class Methods

data() click to toggle source
# File lib/fog/hp/cdn.rb, line 29
def self.data
  @data ||= Hash.new do |hash, key|
    hash[key] = {
      :cdn_containers => {}
    }
  end
end
new(options={}) click to toggle source
# File lib/fog/hp/cdn.rb, line 41
def initialize(options={})
  @hp_account_id = options[:hp_account_id]
end
reset() click to toggle source
# File lib/fog/hp/cdn.rb, line 37
def self.reset
  @data = nil
end

Public Instance Methods

data() click to toggle source
# File lib/fog/hp/cdn.rb, line 45
def data
  self.class.data[@hp_account_id]
end
reset_data() click to toggle source
# File lib/fog/hp/cdn.rb, line 49
def reset_data
  self.class.data.delete(@hp_account_id)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.