internal static string GetDomain(AhrefsEndpoints ahrefsEndpoints) { switch (ahrefsEndpoints) { case AhrefsEndpoints.ApiV2: return("apiv2.ahrefs.com"); default: return("apiv2.ahrefs.com"); } }
public AhrefsWrapper(IAhrefsAuthentication ahrefsAuthentication, AhrefsEndpoints ahrefsEndPoints = AhrefsEndpoints.ApiV2) { this._ahrefsAuthentication = ahrefsAuthentication; this._ahrefsEndPoints = ahrefsEndPoints; }