Sha256: e7de3dbf088a4e86f748f2e1e33db1f7c744bb100dfb1b5d71ebe224b6b38c3c
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
module CodaDocs module Entities class Controls < Entity def all(doc_id) response = connection.get("/docs/#{doc_id}/controls") parse_response(response) end def find(doc_id:, control_id:) connection.get("/docs/#{doc_id}/controls/#{control_id}") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
coda_docs-1.0.0 | lib/coda_docs/entities/controls.rb |
coda_docs-0.2.0.pre.beta | lib/coda_docs/entities/controls.rb |