Class: Couchbase::Bucket::ViewRow

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/view_options.rb,
/code/couchbase-ruby-client/lib/couchbase/view_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|self| ... } ⇒ ViewRow

Returns a new instance of ViewRow.

Yield Parameters:



32
33
34
# File 'lib/couchbase/view_options.rb', line 32

def initialize
  yield self if block_given?
end

Instance Attribute Details

#idString

Returns:

  • (String)


23
24
25
# File 'lib/couchbase/view_options.rb', line 23

def id
  @id
end

#key#to_json

Returns:

  • (#to_json)


26
27
28
# File 'lib/couchbase/view_options.rb', line 26

def key
  @key
end

#value#to_json

Returns:

  • (#to_json)


29
30
31
# File 'lib/couchbase/view_options.rb', line 29

def value
  @value
end