Passed
Push — develop ( 375edc...65434e )
by Edwin
02:48
created

CustomerAddress::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 4
cts 4
cp 1
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 2
crap 1
1
<?php
2
3
namespace ShopifyClient\Resource;
4
5
/**
6
 * https://help.shopify.com/api/reference/customeraddress
7
 */
8
class CustomerAddress extends AbstractNestedCrudResource
9
{
10
    /**
11
     * @var string
12
     */
13
    protected $resourceParentEndpointPleural = 'customers';
14
15
    /**
16
     * @var string
17
     */
18
    protected $resourceChildEndpointPleural = 'addresses';
19
20
    /**
21
     * @var string
22
     */
23
    protected $resourceChildKeySingular = 'customer_address';
24
25
    /**
26
     * @var string
27
     */
28
    protected $resourceChildKeyPleural = 'addresses';
29
}
30