(source, destination)
| 680 | end |
| 681 | |
| 682 | def copy(source, destination) |
| 683 | url = build_api_url("copy/arrow/#{source}", |
| 684 | "to" => "/arrow/#{destination}") |
| 685 | with_retry(3, url) do |
| 686 | with_read_timeout(300) do |
| 687 | request(:post, {}, url) |
| 688 | end |
| 689 | end |
| 690 | end |
| 691 | |
| 692 | private |
| 693 | def build_read_url(path) |
no outgoing calls