forked from iugu/iugu-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request iugu#77 from erickmcarvalho/develop
Reestruturação do projeto para suporte ao .NET Standard
- Loading branch information
Showing
14 changed files
with
89 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using NUnit.Framework; | ||
|
||
namespace iugu.net.IntegratedTests | ||
{ | ||
[SetUpFixture] | ||
public class GlobalSetup | ||
{ | ||
[OneTimeSetUp] | ||
public void IuguClientConfig() | ||
{ | ||
IuguClient.Init(new IuguClientProperties() | ||
{ | ||
ApiKey = "74c265aedbfaea379bc0148fae9b5526" | ||
}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
namespace iugu.net | ||
{ | ||
/// <summary> | ||
/// Iugu.Net Factory | ||
/// </summary> | ||
public static class IuguClient | ||
{ | ||
/// <summary> | ||
/// Propriedades do cliente. | ||
/// </summary> | ||
public static IuguClientProperties Properties { get; internal set; } | ||
|
||
/// <summary> | ||
/// Atualiza as propriedades do cliente. | ||
/// </summary> | ||
/// <param name="properties"></param> | ||
public static void Init(IuguClientProperties properties) | ||
{ | ||
Properties = properties; | ||
} | ||
} | ||
|
||
/// <summary> | ||
/// Propriedades do cliente. | ||
/// </summary> | ||
public class IuguClientProperties | ||
{ | ||
/// <summary> | ||
/// API Key encontrada no painel administrativo da IUGU. | ||
/// </summary> | ||
public string ApiKey { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.