Skip to content

Commit

Permalink
Merge pull request #198 from darrencauthon/fix-events-interface
Browse files Browse the repository at this point in the history
Forgot an addition to the interface
  • Loading branch information
adamhathcock authored Jul 11, 2022
2 parents d6daf8a + f199e10 commit 7ceaa21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/SparkPost.Tests/UserAgentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public UserAgentTests()
[Fact]
public void It_should_default_to_the_library_version()
{
Assert.Equal($"csharp-sparkpost/2.0.0", settings.UserAgent);
Assert.StartsWith($"csharp-sparkpost/2.", settings.UserAgent);
}

[Fact]
Expand Down
2 changes: 2 additions & 0 deletions src/SparkPost/IClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,7 @@ public interface IClient
/// Gets the sub account.
/// </summary>
long SubaccountId { get; }

Events Events { get; }
}
}
8 changes: 4 additions & 4 deletions src/SparkPost/SparkPost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<Product>SparkPost</Product>
<Description>SparkPost API</Description>
<Copyright>Copyright 2022</Copyright>
<Version>2.0.0</Version>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>2.0.0</FileVersion>
<Authors>Darren Cauthon</Authors>
<Version>2.0.1</Version>
<AssemblyVersion>2.0.1</AssemblyVersion>
<FileVersion>2.0.1</FileVersion>
<Authors>Darren Cauthon; Adam Hathcock</Authors>
<icon>https://www.sparkpost.com/sites/default/files/attachments/SparkPost_Logo_2-Color_Gray-Orange_RGB.svg</icon>
<PackageId>SparkPost</PackageId>
<license>https://github.com/darrencauthon/csharp-sparkpost/blob/master/LICENSE.md</license>
Expand Down

0 comments on commit 7ceaa21

Please sign in to comment.