module Blobsterix::S3Auth
Constants
- VERSIONS
Public Class Methods
authenticate(env)
click to toggle source
# File lib/blobsterix/s3/s3_auth.rb, line 10 def self.authenticate(env) VERSIONS.each do |version| v = version.create(env) return v if v end NoAuth.new end
current_time()
click to toggle source
# File lib/blobsterix/s3/s3_auth.rb, line 18 def self.current_time (@current_time||=lambda{Time.now}).call end
current_time=(obj)
click to toggle source
# File lib/blobsterix/s3/s3_auth.rb, line 22 def self.current_time=(obj) @current_time=obj end