public static function getInstance($secret, $apiHost)
    {
        if (!isset(self::$instances[$secret][$apiHost])) {
            self::$instances[$secret][$apiHost] = new self(
                new Entity\Factory(
                    new Client\Curl($secret, $apiHost)
                )
            );
        }

        return self::$instances[$secret][$apiHost];
    }