Sha256: 89d2c5826ebf29f0d9a10d2551bb3b5182ad8a888724e7fe79a9d038aac98faa

Contents?: true

Size: 329 Bytes

Versions: 10

Compression:

Stored size: 329 Bytes

Contents

class S3Secure::Policy::Document
  class Base
    extend Memoist

    def initialize(bucket, bucket_policy)
      # @bucket_policy is existing document policy
      @bucket, @bucket_policy = bucket, bucket_policy
    end

    def checker
      S3Secure::Policy::Checker.new(@bucket_policy)
    end
    memoize :checker
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
s3-secure-0.7.0 lib/s3_secure/policy/document/base.rb
s3-secure-0.6.1 lib/s3_secure/policy/document/base.rb
s3-secure-0.5.1 lib/s3_secure/policy/document/base.rb
s3-secure-0.5.0 lib/s3_secure/policy/document/base.rb
s3-secure-0.4.2 lib/s3_secure/policy/document/base.rb
s3-secure-0.4.1 lib/s3_secure/policy/document/base.rb
s3-secure-0.4.0 lib/s3_secure/policy/document/base.rb
s3-secure-0.3.0 lib/s3_secure/policy/document/base.rb
s3-secure-0.2.0 lib/s3_secure/policy/document/base.rb
s3-secure-0.1.0 lib/s3_secure/policy/document/base.rb