Skip to content

Commit

Permalink
Rename PushCrew to VwoEngage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gh0stWalk3r committed Sep 3, 2019
1 parent b33eecb commit 4362bf4
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public static class ServiceCollectionExtension
{
public static IHttpClientBuilder AddPushCrewHttpClient([ValidatedNotNull] this IServiceCollection serviceCollection, [ValidatedNotNull] string apiToken)
public static IHttpClientBuilder AddVwoEngageHttpClient([ValidatedNotNull] this IServiceCollection serviceCollection, [ValidatedNotNull] string apiToken)
{
var validatedServiceCollection = serviceCollection ?? throw new ArgumentNullException(nameof(serviceCollection));
var validatedApiToken = apiToken ?? throw new ArgumentNullException(nameof(apiToken));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class Subscriber

/// <summary>
/// The IP Address of the subscriber. Can be in IPV4/IPV6.
/// PushCrew masks certain octets (depending upon the format) by default in the IP Address to make sure that the IP address cannot be used to personally identify a subscriber.
/// VWO Engage masks certain octets (depending upon the format) by default in the IP Address to make sure that the IP address cannot be used to personally identify a subscriber.
/// </summary>
public IPAddress IpAddress { get; set; }

Expand Down Expand Up @@ -77,7 +77,6 @@ public class Subscriber
/// Field which denotes if subscriber is a ghost.
/// Ghosts is a terminology for subscribers whom we're not able to reach.
/// <c>True</c> stands for unsubscribed and <c>false</c> stands for subscribed.
/// For more information on ghosts, please refer to: https://pushcrew.com/blog/product-announcement-improving-website-browser-push-notifications-delivery-rate/
/// </summary>
public bool IsGhost { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion tests/GregsStack.VwoEngage.Net.Api.Tests/Sample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public async Task AnyMethod_BadToken_ThrowsUnauthorizedException()
{
var di = new ServiceCollection();

di.AddPushCrewHttpClient("BadToken");
di.AddVwoEngageHttpClient("BadToken");
di.AddTransient<IVwoEngageClient, VwoEngageClient>();

var serviceProvider = di.BuildServiceProvider();
Expand Down

0 comments on commit 4362bf4

Please sign in to comment.