Class: Couchbase::Management::DesignDocument
- Inherits:
-
Object
- Object
- Couchbase::Management::DesignDocument
- Defined in:
- lib/couchbase/management/view_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/view_index_manager.rb
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.
233 234 235 236 |
# File 'lib/couchbase/management/view_index_manager.rb', line 233 def initialize @views = {} yield self if block_given? end |
Instance Attribute Details
#name ⇒ String
Returns name.
224 225 226 |
# File 'lib/couchbase/management/view_index_manager.rb', line 224 def name @name end |
#namespace ⇒ :production, :development
230 231 232 |
# File 'lib/couchbase/management/view_index_manager.rb', line 230 def namespace @namespace end |
#views ⇒ Hash<String => View>
227 228 229 |
# File 'lib/couchbase/management/view_index_manager.rb', line 227 def views @views end |