Object
# File lib/fog/aws/sts.rb, line 18 def self.data @data ||= Hash.new do |hash, key| hash[key] = { :owner_id => Fog::AWS::Mock.owner_id, :server_certificates => {} } end end
# File lib/fog/aws/sts.rb, line 35 def initialize(options={}) @aws_access_key_id = options[:aws_access_key_id] end
# File lib/fog/aws/sts.rb, line 27 def self.reset @data = nil end
# File lib/fog/aws/sts.rb, line 31 def self.server_certificate_id Fog::Mock.random_hex(16) end
# File lib/fog/aws/sts.rb, line 39 def data self.class.data[@aws_access_key_id] end
# File lib/fog/aws/sts.rb, line 43 def reset_data self.class.data.delete(@aws_access_key_id) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.