Class: AWS::S3::ACL::OptionProcessor
- Inherits:
-
Object
- Object
- AWS::S3::ACL::OptionProcessor
- Defined in:
- lib/aws/s3/acl.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options) ⇒ OptionProcessor
constructor
A new instance of OptionProcessor.
- #process! ⇒ Object
Constructor Details
#initialize(options) ⇒ OptionProcessor
Returns a new instance of OptionProcessor.
597 598 599 600 601 |
# File 'lib/aws/s3/acl.rb', line 597 def initialize() . @options = @access_level = extract_access_level end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
590 591 592 |
# File 'lib/aws/s3/acl.rb', line 590 def @options end |
Class Method Details
.process!(options) ⇒ Object
592 593 594 |
# File 'lib/aws/s3/acl.rb', line 592 def process!() new().process! end |
Instance Method Details
#process! ⇒ Object
603 604 605 606 607 |
# File 'lib/aws/s3/acl.rb', line 603 def process! return unless access_level_specified? validate! ['x-amz-acl'] = access_level end |