Skip to content

Commit 3137bdb

Browse files
committed
feat: rename Video -> Pretreat
1 parent 7890935 commit 3137bdb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use Upyun\Util;
99

1010

11-
class Video {
11+
class Pretreat {
1212

1313
protected $url = 'http://p0.api.upyun.com';
1414

src/Upyun/Upyun.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,17 +194,17 @@ public function purge($urls) {
194194
}
195195

196196
public function processVideo($source, $tasks) {
197-
$video = new Api\Video($this->config);
197+
$video = new Api\Pretreat($this->config);
198198
return $video->process($source, $tasks);
199199
}
200200

201201
public function queryVideoProcessStatus($taskIds) {
202-
$video = new Api\Video($this->config);
202+
$video = new Api\Pretreat($this->config);
203203
return $video->query($taskIds, '/status');
204204
}
205205

206206
public function queryVideoProcessResult($taskIds) {
207-
$video = new Api\Video($this->config);
207+
$video = new Api\Pretreat($this->config);
208208
return $video->query($taskIds, '/result');
209209
}
210210
}

0 commit comments

Comments
 (0)