lib/coda_docs/client/controls.rb in coda_docs-0.1.1.1 vs lib/coda_docs/client/controls.rb in coda_docs-0.1.2

- old
+ new

@@ -4,10 +4,10 @@ def controls(doc_id, options = {}) response = self.class.get("/docs/#{doc_id}/controls", query: options) response.parsed_response['items'] end - def formula(doc_id, control_id, options = {}) + def control(doc_id, control_id, options = {}) self.class.get("/docs/#{doc_id}/controls/#{control_id}", query: options) end end end end