Module: AliyunGreen::Text
- Defined in:
- lib/aliyun_green/text.rb
Class Method Summary collapse
Class Method Details
.bulk_scan ⇒ Object
17 18 19 |
# File 'lib/aliyun_green/text.rb', line 17 def bulk_scan # TODO end |
.feedback ⇒ Object
21 22 23 |
# File 'lib/aliyun_green/text.rb', line 21 def feedback # TODO end |
.scan(content, data_id = nil) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/aliyun_green/text.rb', line 4 def scan(content, data_id = nil) tasks = [ { dataId: data_id, content: content, }, ] response = AliyunGreen.client.post("/green/text/scan", build_payload(tasks)) response end |