class

ArtifactWriter

Inherits Reference < Object

Constants

WIP_SUFFIX = ".wip"

Constructors

new(config : Config)
Source

Instance methods

complete(wip_dir : String, stripped_json : String) : Nil

Write stripped JSON and complete (rename wip to final)

Source
prepare(page_num : Int32, url : String, curl_args : Array(String)) : String

Create wip directory and write request files before curl execution

Source
write_response(wip_dir : String, res_header : String, res_body : String) : Nil

Write response files after curl execution (success or failure)

Source