lib/fog/oraclecloud/storage.rb in fog-oraclecloud-0.1.7 vs lib/fog/oraclecloud/storage.rb in fog-oraclecloud-0.1.8

- old
+ new

@@ -71,10 +71,29 @@ response end end class Mock + def initialize(options={}) + @username = options[:oracle_username] + @password = options[:oracle_password] + @identity_domain = options[:oracle_domain] + @api_endpoint = options[:oracle_compute_api] + end + def self.data + @data ||= { + :containers => {} + } + end + + def self.reset + @data = nil + end + + def data + self.class.data + end end end end end \ No newline at end of file