Sha256: b1fc6a91714190b2c49180c286fd7187f5a068156b6288527e7cf3e66eaa2dee

Contents?: true

Size: 282 Bytes

Versions: 3

Compression:

Stored size: 282 Bytes

Contents

module S3Lib
  module AclAccess
    
    def refresh_acl
      get_acl
    end    
    
    def acl(params = {})
      refresh_acl if params[:refresh]      
      @acl || get_acl
    end    
        
    private
    
    def get_acl
      @acl = Acl.new(self)
    end
    
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
spatten-s3lib-0.0.1 lib/acl_access.rb
s3lib-0.1.1 lib/acl_access.rb
s3lib-0.1.0 lib/acl_access.rb