lib/coda_docs/entities/columns.rb in coda_docs-1.0.0 vs lib/coda_docs/entities/columns.rb in coda_docs-1.0.1

- old
+ new

@@ -1,13 +1,13 @@ module CodaDocs module Entities class Columns < Entity - def all(doc_id:, table_id:) - response = connection.get("/docs/#{doc_id}/tables/#{table_id}/columns") + def all(doc_id, table_id, options = nil) + response = connection.get("/docs/#{doc_id}/tables/#{table_id}/columns", query: options) parse_response(response) end - def find(doc_id:, table_id:, column_id:) + def find(doc_id, table_id, column_id) connection.get("/docs/#{doc_id}/tables/#{table_id}/columns/#{column_id}") end end end end