Mailgun\Api\Domain::show PHP Method

show() public method

Returns a single domain.
public show ( string $domain ) : ShowResponse | array | Psr\Http\Message\ResponseInterface
$domain string Name of the domain.
return Mailgun\Resource\Api\Domain\ShowResponse | array | Psr\Http\Message\ResponseInterface
    public function show($domain)
    {
        Assert::stringNotEmpty($domain);
        $response = $this->httpGet(sprintf('/v3/domains/%s', $domain));
        return $this->deserializer->deserialize($response, ShowResponse::class);
    }