Class: Couchbase::Bucket::ViewRow
- Inherits:
-
Object
- Object
- Couchbase::Bucket::ViewRow
- Defined in:
- lib/couchbase/view_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/view_options.rb more...
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.
120 121 122 |
# File 'lib/couchbase/view_options.rb', line 120 def initialize yield self if block_given? end |
Instance Attribute Details
#id ⇒ String
111 112 113 |
# File 'lib/couchbase/view_options.rb', line 111 def id @id end |
#key ⇒ #to_json
114 115 116 |
# File 'lib/couchbase/view_options.rb', line 114 def key @key end |
#value ⇒ #to_json
117 118 119 |
# File 'lib/couchbase/view_options.rb', line 117 def value @value end |