We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bfbef1 commit 6267ee4Copy full SHA for 6267ee4
1 file changed
Atomx/Resources/ConversionPixel.php
@@ -0,0 +1,21 @@
1
+<?php namespace Atomx\Resources;
2
+
3
+use Atomx\AtomxClient;
4
+use Atomx\Resources\Traits\NameTrait;
5
+use Atomx\Resources\Traits\StateTrait;
6
7
+class ConversionPixel extends AtomxClient {
8
+ use NameTrait, StateTrait;
9
10
+ protected $endpoint = 'conversion-pixel';
11
12
+ public function setDuration($seconds)
13
+ {
14
+ $this->duration = $seconds;
15
+ }
16
17
+ public function setDurationInDays($days)
18
19
+ $this->setDurationSeconds($days * 60 * 60 * 24);
20
21
+}
0 commit comments