Class: Bucketrb::ObjectStore::ObjectEntry
- Inherits:
-
Struct
- Object
- Struct
- Bucketrb::ObjectStore::ObjectEntry
- Defined in:
- lib/bucketrb/object_store.rb
Instance Attribute Summary collapse
-
#bucket ⇒ Object
Returns the value of attribute bucket.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#etag ⇒ Object
Returns the value of attribute etag.
-
#key ⇒ Object
Returns the value of attribute key.
-
#last_modified ⇒ Object
Returns the value of attribute last_modified.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#path ⇒ Object
Returns the value of attribute path.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
Instance Attribute Details
#bucket ⇒ Object
Returns the value of attribute bucket
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def bucket @bucket end |
#content_type ⇒ Object
Returns the value of attribute content_type
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def content_type @content_type end |
#etag ⇒ Object
Returns the value of attribute etag
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def etag @etag end |
#key ⇒ Object
Returns the value of attribute key
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def key @key end |
#last_modified ⇒ Object
Returns the value of attribute last_modified
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def last_modified @last_modified end |
#metadata ⇒ Object
Returns the value of attribute metadata
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def @metadata end |
#path ⇒ Object
Returns the value of attribute path
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def path @path end |
#size ⇒ Object
Returns the value of attribute size
14 15 16 |
# File 'lib/bucketrb/object_store.rb', line 14 def size @size end |
Instance Method Details
#quoted_etag ⇒ Object
25 26 27 |
# File 'lib/bucketrb/object_store.rb', line 25 def quoted_etag %("#{etag}") end |