Module: FakeS3

Defined in:
lib/fakes3/cli.rb,
lib/fakes3/util.rb,
lib/fakes3/bucket.rb,
lib/fakes3/errors.rb,
lib/fakes3/server.rb,
lib/fakes3/version.rb,
lib/fakes3/s3_object.rb,
lib/fakes3/file_store.rb,
lib/fakes3/xml_parser.rb,
lib/fakes3/xml_adapter.rb,
lib/fakes3/bucket_query.rb,
lib/fakes3/sorted_object_list.rb,
lib/fakes3/rate_limitable_file.rb,
lib/fakes3/unsupported_operation.rb

Defined Under Namespace

Modules: Util Classes: Bucket, BucketNotEmpty, BucketQuery, CLI, FakeS3Exception, FileStore, NoSuchBucket, RateLimitableFile, Request, S3MatchSet, S3Object, Server, Servlet, SortedObjectList, UnsupportedOperation, XmlAdapter, XmlParser

Constant Summary collapse

VERSION =
"1.2.0"

Class Method Summary collapse

Class Method Details

.loggerObject



50
51
52
# File 'lib/fakes3/server.rb', line 50

def self.logger
  @@logger ||= defined?(Rails) ? Rails.logger : Logger.new(STDOUT)
end

.logger=(logger) ⇒ Object



54
55
56
# File 'lib/fakes3/server.rb', line 54

def self.logger=(logger)
  @@logger = logger
end