src/Api/Ip.php
public function index(bool $dedicated = false)
    {
        Assert::boolean($dedicated);

        $params = [
            'dedicated' => $dedicated,
        ];

        $response = $this->httpGet('/v3/ips', $params);

        return $this->hydrateResponse($response, IndexResponse::class);
    }
public function index(bool $dedicated = false)
    {
        Assert::boolean($dedicated);

        $params = [
            'dedicated' => $dedicated,
        ];

        $response = $this->httpGet('/v3/ips', $params);

        return $this->hydrateResponse($response, IndexResponse::class);
    }
public function index ( bool $ dedicated = false ) { Assert :: boolean ( $ dedicated ) ; $ params = [ 'dedicated' => $ dedicated , ] ; $ response = $ this -> httpGet ( '/v3/ips' , $ params ) ; return $ this -> hydrateResponse ( $ response , IndexResponse :: class ) ; }
Returns a list of IPs.


@return IndexResponse|ResponseInterface
Returns a list of IPs .