Method: Couchbase::Protostellar::BinaryCollection#initialize
- Defined in:
- lib/couchbase/protostellar/binary_collection.rb
#initialize(collection) ⇒ BinaryCollection
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of BinaryCollection.
24 25 26 27 28 |
# File 'lib/couchbase/protostellar/binary_collection.rb', line 24 def initialize(collection) @collection = collection @client = collection.instance_variable_get(:@client) @kv_request_generator = collection.instance_variable_get(:@kv_request_generator) end |