Class: Protons8::Couch::CouchResponse::PutPostDelete
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Protons8::Couch::CouchResponse::PutPostDelete
- Defined in:
- lib/protoncouch.rb
Overview
End of View
Instance Method Summary collapse
Methods inherited from BaseResponse
#attachment, #attachments, #conflict?, #error?, #error_name, #initialize, #no_error?, #not_found?, #raw, #reason, #unauth?
Constructor Details
This class inherits a constructor from Protons8::Couch::CouchResponse::BaseResponse
Instance Method Details
#id ⇒ Object
179 180 181 |
# File 'lib/protoncouch.rb', line 179 def id @hash['id'] end |
#ok? ⇒ Boolean
187 188 189 |
# File 'lib/protoncouch.rb', line 187 def ok? @hash['ok'] || false end |
#rev ⇒ Object
183 184 185 |
# File 'lib/protoncouch.rb', line 183 def rev @hash['rev'] end |