Class: Couchbase::Bucket::ViewRow
- Inherits:
-
Object
- Object
- Couchbase::Bucket::ViewRow
- Defined in:
- lib/couchbase/view_options.rb,
/code/couchbase-ruby-client/lib/couchbase/view_options.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ ViewRow
constructor
A new instance of ViewRow.
Constructor Details
#initialize {|self| ... } ⇒ ViewRow
Returns a new instance of ViewRow.
32 33 34 |
# File 'lib/couchbase/view_options.rb', line 32 def initialize yield self if block_given? end |
Instance Attribute Details
#id ⇒ String
23 24 25 |
# File 'lib/couchbase/view_options.rb', line 23 def id @id end |
#key ⇒ #to_json
26 27 28 |
# File 'lib/couchbase/view_options.rb', line 26 def key @key end |
#value ⇒ #to_json
29 30 31 |
# File 'lib/couchbase/view_options.rb', line 29 def value @value end |