Class: Couchbase::Management::DesignDocument
- Inherits:
-
Object
- Object
- Couchbase::Management::DesignDocument
- Defined in:
- lib/couchbase/management/view_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/view_index_manager.rb more...
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize {|self| ... } ⇒ DesignDocument
constructor
A new instance of DesignDocument.
Constructor Details
#initialize {|self| ... } ⇒ DesignDocument
Returns a new instance of DesignDocument.
231 232 233 234 |
# File 'lib/couchbase/management/view_index_manager.rb', line 231 def initialize @views = {} yield self if block_given? end |
Instance Attribute Details
#name ⇒ String
Returns name.
222 223 224 |
# File 'lib/couchbase/management/view_index_manager.rb', line 222 def name @name end |
#namespace ⇒ :production, :development
228 229 230 |
# File 'lib/couchbase/management/view_index_manager.rb', line 228 def namespace @namespace end |
#views ⇒ Hash<String => View>
225 226 227 |
# File 'lib/couchbase/management/view_index_manager.rb', line 225 def views @views end |