Class: Requeus::BlobStore
- Inherits:
-
Object
- Object
- Requeus::BlobStore
- Defined in:
- lib/requeus/blob_store.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, conf) ⇒ BlobStore
constructor
A new instance of BlobStore.
Constructor Details
#initialize(name, conf) ⇒ BlobStore
Returns a new instance of BlobStore.
3 4 5 6 |
# File 'lib/requeus/blob_store.rb', line 3 def initialize name, conf @name = name @connection = self.class.adapters[conf['adapter']].new(conf) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/requeus/blob_store.rb', line 11 def name @name end |