class S3Secure::Policy::Document::Base

Public Class Methods

new(bucket, bucket_policy) click to toggle source
# File lib/s3_secure/policy/document/base.rb, line 5
def initialize(bucket, bucket_policy)
  # @bucket_policy is existing document policy
  @bucket, @bucket_policy = bucket, bucket_policy
end

Public Instance Methods

checker() click to toggle source
# File lib/s3_secure/policy/document/base.rb, line 10
def checker
  S3Secure::Policy::Checker.new(@bucket_policy)
end