module AliyunGreen::Text

Public Class Methods

bulk_scan() click to toggle source
# File lib/aliyun_green/text.rb, line 16
def self.bulk_scan
  # TODO
end
feedback() click to toggle source
# File lib/aliyun_green/text.rb, line 20
def self.feedback
  # TODO
end
scan(content, data_id = nil) click to toggle source
# File lib/aliyun_green/text.rb, line 3
def self.scan(content, data_id = nil)
  tasks = [
    {
      dataId: data_id,
      content: content
    }
  ]

  response = AliyunGreen.client.post('/green/text/scan', tasks)

  response
end