aboutsummaryrefslogtreecommitdiff
path: root/src/Assistant
diff options
context:
space:
mode:
authorSerghei Cebotari <51533848+schebotar@users.noreply.github.com>2022-02-05 13:18:18 +0300
committerGitHub <noreply@github.com>2022-02-05 13:18:18 +0300
commitad7234fda7927c45e5ca457facae71a4b9be6b31 (patch)
treed9fc89b0e02a5fdc92d54674b7b48ad2d10859e4 /src/Assistant
parent180807d749f4eb3a16c1f136d42b90ea2945008f (diff)
parenteb6a28b955b5b179bd40f21dcf1daa6f9337765f (diff)
Merge pull request #15 from schebotar/dev
Dev
Diffstat (limited to 'src/Assistant')
-rw-r--r--src/Assistant/RequestModifier.cs2
-rw-r--r--src/Assistant/SkuAssist.cs2
-rw-r--r--src/Assistant/SkuExtensions.cs12
-rw-r--r--src/Assistant/StoreResponse.cs6
4 files changed, 5 insertions, 17 deletions
diff --git a/src/Assistant/RequestModifier.cs b/src/Assistant/RequestModifier.cs
index 9f42e71..c2c3436 100644
--- a/src/Assistant/RequestModifier.cs
+++ b/src/Assistant/RequestModifier.cs
@@ -5,7 +5,7 @@ using System.Text.RegularExpressions;
namespace RehauSku.Assistant
{
- public static class RequestModifier
+ static class RequestModifier
{
public static string CleanRequest(this string input)
{
diff --git a/src/Assistant/SkuAssist.cs b/src/Assistant/SkuAssist.cs
index 6c68288..85a084c 100644
--- a/src/Assistant/SkuAssist.cs
+++ b/src/Assistant/SkuAssist.cs
@@ -2,7 +2,7 @@
namespace RehauSku.Assistant
{
- public enum ProductField
+ enum ProductField
{
Name,
Id,
diff --git a/src/Assistant/SkuExtensions.cs b/src/Assistant/SkuExtensions.cs
deleted file mode 100644
index e39807b..0000000
--- a/src/Assistant/SkuExtensions.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System.Text.RegularExpressions;
-
-namespace RehauSku.Assistant
-{
- static class SkuExtensions
- {
- public static bool IsRehauSku(this string line)
- {
- return Regex.IsMatch(line, @"^[1]\d{6}[1]\d{3}$");
- }
- }
-} \ No newline at end of file
diff --git a/src/Assistant/StoreResponse.cs b/src/Assistant/StoreResponse.cs
index 8e1759d..1a9b1c5 100644
--- a/src/Assistant/StoreResponse.cs
+++ b/src/Assistant/StoreResponse.cs
@@ -2,17 +2,17 @@
namespace RehauSku.Assistant
{
- public class StoreResponce
+ class StoreResponce
{
public Ecommerce Ecommerce { get; set; }
}
- public class Ecommerce
+ class Ecommerce
{
public List<Product> Impressions { get; set; }
}
- public class Product : IProduct
+ class Product : IProduct
{
public string Id { get; set; }
public string Name { get; set; }