class Abbyy::Models::TaskResult

Overview

Holds the results of a task.

Defined in:

abbyy/models/task_result.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(result : HTTP::Client::BodyType = nil, result_type : String | Nil = nil, result2 : HTTP::Client::BodyType = nil, result2_type : String | Nil = nil, result3 : HTTP::Client::BodyType = nil, result3_type : String | Nil = nil) #

[View source]
def self.new(result : HTTP::Client::BodyType = nil, result2 : HTTP::Client::BodyType = nil, result3 : HTTP::Client::BodyType = nil) #

[View source]

Instance Method Detail

def result : HTTP::Client::BodyType #

Result downloaded from task.result_url.


[View source]
def result2 : HTTP::Client::BodyType #

Result downloaded from task.result_url2.


[View source]
def result2_type : String | Nil #

Mime-type of #result2.


[View source]
def result3 : HTTP::Client::BodyType #

Result downloaded from task.result_url3.


[View source]
def result3_type : String | Nil #

Mime-type of #result3.


[View source]
def result_type : String | Nil #

Mime-type of #result.


[View source]
def save_result(file_path : String) #

Save #result to file.


[View source]
def save_result2(file_path : String) #

Save #result2 to file.


[View source]
def save_result3(file_path : String) #

Save #result3 to file.


[View source]
def save_results(file_path : String | Nil = nil, file_path2 : String | Nil = nil, file_path3 : String | Nil = nil) #

[View source]