Top Level Namespace
Defined Under Namespace
Modules: Cushion, RestClient
Classes: Time
Constant Summary
collapse
- DEFAULT_COUCH_HOST =
"http://127.0.0.1:5984"
Instance Method Summary
collapse
Instance Method Details
#Cushion(dbname, opts = {}) ⇒ Object
15
16
17
|
# File 'lib/cushion.rb', line 15
def Cushion(dbname, opts = {})
Cushion.server(opts).db(dbname)
end
|
#Cushion!(dbname, opts = {}) ⇒ Object
19
20
21
|
# File 'lib/cushion.rb', line 19
def Cushion!(dbname, opts = {})
Cushion.server(opts).db!(dbname)
end
|