Class: Protons8::ProtonCouch::CouchResponse::PutPostDelete
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Protons8::ProtonCouch::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::ProtonCouch::CouchResponse::BaseResponse
Instance Method Details
#id ⇒ Object
180 181 182 |
# File 'lib/protoncouch.rb', line 180 def id @hash['id'] end |
#ok? ⇒ Boolean
188 189 190 |
# File 'lib/protoncouch.rb', line 188 def ok? @hash['ok'] || false end |
#rev ⇒ Object
184 185 186 |
# File 'lib/protoncouch.rb', line 184 def rev @hash['rev'] end |