| Class | CouchObject::Server |
| In: |
lib/couch_object/server.rb
|
| Parent: | Object |
| connection | [RW] | |
| host | [RW] | |
| port | [RW] |
Send a POST request to path with the body payload of data content_type is the Content-Type header to send along (defaults to application/json)
Send a PUT request to path with the body payload of data content_type is the Content-Type header to send along (defaults to application/json)
| send off a req object to the host. req is a Net::Http: | request class |
(eg Net::Http::Get/Net::Http::Post etc)