~ubuntu-branches/ubuntu/wily/ruby-aws-sdk/wily

« back to all changes in this revision

Viewing changes to lib/aws/core/policy.rb

  • Committer: Package Import Robot
  • Author(s): David Suárez
  • Date: 2015-08-11 17:43:39 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20150811174339-xpq5x98u1udacu7q
Tags: 1.64.0-1
* debian/control:
  - Update standards version; no changes needed.
  - Add Conflicts: ruby-aws; Distinct implementation for same service.
* debian/patches:
  - Drop 'fix-typo-in-aws-repl-commandline-client-help-page' path;
      applied upstream.
  - Refresh 'use-correct-path-for-bundled-files' patch.
  - Add 'maintain-imports-backwards-compatibility patch'.
* debian/copyright: update years.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    #     policy.to_json # => '{ "Version":"2008-10-17", ...'
30
30
    #
31
31
    # @see #initialize More ways to construct a policy.
32
 
    # @see http://docs.amazonwebservices.com/AmazonS3/latest/dev/AccessPolicyLanguage_UseCases_s3_a.html Example policies (in JSON).
 
32
    # @see http://docs.aws.amazon.com/AmazonS3/latest/dev/AccessPolicyLanguage_UseCases_s3_a.html Example policies (in JSON).
33
33
    class Policy
34
34
 
35
35
      # @see Statement
350
350
        #   `:s3_prefix` is sent as "s3:prefix" while
351
351
        #   `:secure_transport` is sent as "aws:SecureTransport".
352
352
        #   See
353
 
        #   http://docs.amazonwebservices.com/AmazonS3/latest/dev/UsingResOpsConditions.html
 
353
        #   http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingResOpsConditions.html
354
354
        #   for a list of the available keys for each action in S3.
355
355
        #
356
356
        # @param [Mixed] values The value to compare against.