Method: Couchbase::Collection::GetResult#content
- Defined in:
- lib/couchbase/collection_options.rb
#content(transcoder = self.transcoder) ⇒ Object
Decodes the content of the document using given (or default transcoder)
57 58 59 |
# File 'lib/couchbase/collection_options.rb', line 57 def content(transcoder = self.transcoder) transcoder ? transcoder.decode(@encoded, @flags) : @encoded end |