Class: Requeus::BlobStore

Inherits:
Object
  • Object
show all
Defined in:
lib/requeus/blob_store.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/requeus/blob_store.rb', line 11

def name
  @name
end