-
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.
Adding the env switch, StashClient renamed to StashAuth
- Loading branch information
Showing
8 changed files
with
54 additions
and
21 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
Assets/Plugins/Android/com.google.android.gms.play-services-games-v2-17.0.0.aar
Binary file not shown.
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
File renamed without changes.
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,22 @@ | ||
namespace Stash.Scripts.Core | ||
{ | ||
public enum StashEnvironment | ||
{ | ||
Test, | ||
Production | ||
} | ||
|
||
public static class StashEnvironmentAdapter { | ||
public static string GetRootUrl(this StashEnvironment env) { | ||
switch (env) | ||
{ | ||
case StashEnvironment.Test: | ||
return Stash.Core.StashConstants.RootUrlTest; | ||
case StashEnvironment.Production: | ||
default: | ||
return Stash.Core.StashConstants.RootUrl; | ||
|
||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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