Skip to content

Commit 7ceaa21

Browse files
authored
Merge pull request #198 from darrencauthon/fix-events-interface
Forgot an addition to the interface
2 parents d6daf8a + f199e10 commit 7ceaa21

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/SparkPost.Tests/UserAgentTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public UserAgentTests()
1717
[Fact]
1818
public void It_should_default_to_the_library_version()
1919
{
20-
Assert.Equal($"csharp-sparkpost/2.0.0", settings.UserAgent);
20+
Assert.StartsWith($"csharp-sparkpost/2.", settings.UserAgent);
2121
}
2222

2323
[Fact]

src/SparkPost/IClient.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,5 +81,7 @@ public interface IClient
8181
/// Gets the sub account.
8282
/// </summary>
8383
long SubaccountId { get; }
84+
85+
Events Events { get; }
8486
}
8587
}

src/SparkPost/SparkPost.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<Product>SparkPost</Product>
66
<Description>SparkPost API</Description>
77
<Copyright>Copyright 2022</Copyright>
8-
<Version>2.0.0</Version>
9-
<AssemblyVersion>2.0.0</AssemblyVersion>
10-
<FileVersion>2.0.0</FileVersion>
11-
<Authors>Darren Cauthon</Authors>
8+
<Version>2.0.1</Version>
9+
<AssemblyVersion>2.0.1</AssemblyVersion>
10+
<FileVersion>2.0.1</FileVersion>
11+
<Authors>Darren Cauthon; Adam Hathcock</Authors>
1212
<icon>https://www.sparkpost.com/sites/default/files/attachments/SparkPost_Logo_2-Color_Gray-Orange_RGB.svg</icon>
1313
<PackageId>SparkPost</PackageId>
1414
<license>https://github.com/darrencauthon/csharp-sparkpost/blob/master/LICENSE.md</license>

0 commit comments

Comments
 (0)