Skip to content

Commit 28e414d

Browse files
Add CreativeBan, remove creative.banned
1 parent b1f7fe8 commit 28e414d

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

Atomx/Resources/Creative.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,6 @@ public function setSize($size)
9494
$this->size_id = $size;
9595
}
9696

97-
public function setBanned($banned_id)
98-
{
99-
$this->banned_id = $banned_id;
100-
}
101-
10297
public function setAuditedAt($audited_at)
10398
{
10499
$this->audited_at = $audited_at;

Atomx/Resources/CreativeBan.php

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?php namespace Atomx\Resources;
2+
3+
use Atomx\AtomxClient;
4+
5+
class CreativeBan extends AtomxClient {
6+
7+
protected $endpoint = 'creative_ban';
8+
9+
public function setUrl($url)
10+
{
11+
$this->url = $url;
12+
}
13+
14+
public function setCreativeId($id)
15+
{
16+
$this->creative_id = $id;
17+
}
18+
19+
public function setReasonId($id)
20+
{
21+
$this->reason_id = $id;
22+
}
23+
}

0 commit comments

Comments
 (0)