Method: ChinoRuby::Documents#get_document
- Defined in:
- lib/chino_ruby/classes.rb
#get_document(document_id) ⇒ Object
965 966 967 968 969 970 |
# File 'lib/chino_ruby/classes.rb', line 965 def get_document(document_id) check_string(document_id) d = Document.new d.from_json(get_resource("/documents/#{document_id}").to_json, true) d end |