adtraction-api 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adtraction/api/constants.rb +1 -1
- data/lib/adtraction/api/models/program.rb +1 -1
- data/lib/adtraction/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad6eed3ca49a9e0c7636fa655d76c54111202674aa3e2fb9ef8b392f858f9b62
|
4
|
+
data.tar.gz: ad03d0a8b424eafe0a4dcb79730996d4e27272ccac3a22f1b45e7d2492175ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7dec7a12d4bc1cf9c9ee5fb941b0097a9405a7ab2ff48d6282e48b55ddefcbe3f9a4012c06b54ea171f0841bffc8c0a69e05cc87b466646218b49290f9fdb4
|
7
|
+
data.tar.gz: d51490f86ab3b1a54cbabb0fc7772a9ad656c4ca7c3efe92eea4eccda15d88bfa6b9357c43892da4c8f6e2ff832614bd42bb5eb47228b47ed677388a46eaf35f
|
@@ -67,7 +67,7 @@ module Adtraction
|
|
67
67
|
program.coupon_marketing = Adtraction::Api::Constants::COUPON_MARKETING_ENUM.fetch(item.fetch("couponMarketing"))
|
68
68
|
|
69
69
|
program.compensations&.each do |compensation|
|
70
|
-
enum = Adtraction::Api::Constants::TRANSACTION_TYPE_ENUM.fetch(compensation["transactionType"],
|
70
|
+
enum = Adtraction::Api::Constants::TRANSACTION_TYPE_ENUM.fetch(compensation["transactionType"], :unknown)
|
71
71
|
compensation["transactionType"] = enum unless enum.nil?
|
72
72
|
end
|
73
73
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adtraction-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Johnsson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|