1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

don't use a constant

This commit is contained in:
Edward Muller 2010-05-18 03:45:22 +08:00 committed by Wesley Beary
parent 54a7fe2017
commit ad5f225abb

View file

@ -85,7 +85,8 @@ module Fog
module Mock
include Common
DATA = {
def self.mock_data
{
:organizations =>
[
{
@ -167,6 +168,7 @@ module Fog
}
]
}
end
def self.error_headers
{"X-Powered-By"=>"ASP.NET",
@ -199,7 +201,7 @@ module Fog
self.class.instance_eval '
def self.data
@data ||= Hash.new do |hash, key|
hash[key] = Fog::Terremark::Shared::Mock::DATA
hash[key] = Fog::Terremark::Shared::Mock.mock_data
end
end'
self.class.instance_eval '