Class: CouchClient::AttachmentList
- Inherits:
-
ConsistentHash
- Object
- Hash
- ConsistentHash
- CouchClient::AttachmentList
- Defined in:
- lib/couch-client/attachment_list.rb
Overview
AttachmentList prevents ConsistentHash from absorbing instances of Attachment and making them a ConsistentHash.
Instance Method Summary collapse
-
#initialize(attachments) ⇒ AttachmentList
constructor
AttachmentList is constructed with a hash of attachments.
Methods inherited from ConsistentHash
#[]=, #default, #delete, #dup, #fetch, #key?, #merge, #regular_update, #regular_writer, #to_hash, #update, #values_at
Constructor Details
#initialize(attachments) ⇒ AttachmentList
AttachmentList is constructed with a hash of attachments.
6 7 8 |
# File 'lib/couch-client/attachment_list.rb', line 6 def initialize() self.merge!() end |