Class: Couchbase::Bucket::ViewRow

Inherits:
Object
  • Object
show all
Defined in:
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:

[View source]

121
122
123
# File 'lib/couchbase/view_options.rb', line 121

def initialize
  yield self if block_given?
end

Instance Attribute Details

#idString

Returns:

  • (String)

112
113
114
# File 'lib/couchbase/view_options.rb', line 112

def id
  @id
end

#key#to_json

Returns:

  • (#to_json)

115
116
117
# File 'lib/couchbase/view_options.rb', line 115

def key
  @key
end

#value#to_json

Returns:

  • (#to_json)

118
119
120
# File 'lib/couchbase/view_options.rb', line 118

def value
  @value
end