Sha256: 2bb77ca2a068acb2140fbf64b0d1ba68e73274741bc5d72639f8c77cd76ac771
Contents?: true
Size: 551 Bytes
Versions: 3
Compression:
Stored size: 551 Bytes
Contents
module CodaDocs class Client module Rows def rows(doc_id, table_id, options = {}) response = self.class.get("/docs/#{doc_id}/tables/#{table_id}/rows", query: options) response.parsed_response['items'] end def row(doc_id, table_id, row_id, options = {}) self.class.get("/docs/#{doc_id}/tables/#{table_id}/rows/#{row_id}", query: options) end def delete_row(doc_id, table_id, row_id) self.class.delete("/docs/#{doc_id}/tables/#{table_id}/rows/#{row_id}") end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
coda_docs-0.1.2 | lib/coda_docs/client/rows.rb |
coda_docs-0.1.1.1 | lib/coda_docs/client/rows.rb |
coda_docs-0.1.1 | lib/coda_docs/client/rows.rb |