Class: UberS3
- Inherits:
-
Object
- Object
- UberS3
- Extended by:
- Forwardable
- Defined in:
- lib/uber-s3.rb,
lib/uber-s3/error.rb,
lib/uber-s3/bucket.rb,
lib/uber-s3/object.rb,
lib/uber-s3/version.rb,
lib/uber-s3/response.rb,
lib/uber-s3/operation.rb,
lib/uber-s3/connection.rb,
lib/uber-s3/authorization.rb
Defined Under Namespace
Modules: Authorization, Connection, Error, Operation, Util Classes: Bucket, Object, Response
Constant Summary collapse
- VERSION =
'0.2.4'
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#connection ⇒ Object
readonly
Returns the value of attribute connection.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ UberS3
constructor
A new instance of UberS3.
- #inspect ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ UberS3
Returns a new instance of UberS3.
18 19 20 21 |
# File 'lib/uber-s3.rb', line 18 def initialize(={}) self. = self.bucket = [:bucket] end |
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket.
15 16 17 |
# File 'lib/uber-s3.rb', line 15 def bucket @bucket end |
#connection ⇒ Object (readonly)
Returns the value of attribute connection.
14 15 16 |
# File 'lib/uber-s3.rb', line 14 def connection @connection end |
#options ⇒ Object
Returns the value of attribute options.
15 16 17 |
# File 'lib/uber-s3.rb', line 15 def @options end |