Class: AWS::S3::Base::RequestOptions
- Inherits:
-
Hash
- Object
- Hash
- AWS::S3::Base::RequestOptions
- Defined in:
- lib/aws/s3/base.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#verb ⇒ Object
readonly
Returns the value of attribute verb.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options, verb = :get) ⇒ RequestOptions
constructor
A new instance of RequestOptions.
- #process! ⇒ Object
Constructor Details
#initialize(options, verb = :get) ⇒ RequestOptions
Returns a new instance of RequestOptions.
213 214 215 216 217 |
# File 'lib/aws/s3/base.rb', line 213 def initialize(, verb = :get) @options = . @verb = verb super() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
205 206 207 |
# File 'lib/aws/s3/base.rb', line 205 def @options end |
#verb ⇒ Object (readonly)
Returns the value of attribute verb.
205 206 207 |
# File 'lib/aws/s3/base.rb', line 205 def verb @verb end |
Class Method Details
.process(*args, &block) ⇒ Object
208 209 210 |
# File 'lib/aws/s3/base.rb', line 208 def process(*args, &block) new(*args, &block).process! end |
Instance Method Details
#process! ⇒ Object
219 220 221 222 |
# File 'lib/aws/s3/base.rb', line 219 def process! set_access_controls! if verb == :put replace() end |