Completed
Push — master ( d83768...66ea7e )
by Fabian
02:05
created

Header::getApiSign()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @author  Fabian Hanisch
4
 * @since   14.07.2017 21:00
5
 * @version 1.0
6
 */
7
8
namespace HanischIt\KrakenApi\Model;
9
10
/**
11
 * Class Header
12
 *
13
 * @package HanischIt\KrakenApi\Model
14
 */
15
class Header
16
{
17
    /**
18
     * @var string
19
     */
20
    private $apiKey;
21
    /**
22
     * @var string
23
     */
24
    private $apiSign;
25
26
    /**
27
     * Header constructor.
28
     *
29
     * @param string $apiKey
30
     * @param string $apiSign
31
     */
32 5
    public function __construct($apiKey, $apiSign)
33
    {
34 5
        $this->apiKey = $apiKey;
35 5
        $this->apiSign = $apiSign;
36 5
    }
37
38
    /**
39
     * @return string
40
     */
41 1
    public function getApiKey()
42
    {
43 1
        return $this->apiKey;
44
    }
45
46
    /**
47
     * @return string
48
     */
49 1
    public function getApiSign()
50
    {
51 1
        return $this->apiSign;
52
    }
53
}
54