active_campaign_wrapper 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9b3a33ce7dc71fbb514aae9f0b173b5d2bf77f5b0bfafb8e180beab80cdefae
|
|
4
|
+
data.tar.gz: 71939cda10a78b20daaaa569b0c3a403264191c018d5039925009b0e6d5d83f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e43ae2a7fbcae9a060b88ead7259d1431abddb56355f4bc5cf4690858c45cfe4f83b32ce1573093aeba61f8568608d81fd2264a2dd06054bfb1ea0dee1722d93
|
|
7
|
+
data.tar.gz: 7dd1786e4595c9d881b5d78ddadc8b73adf29adb99087211d99377381efe4421f28c4d20a66b2803e1b37385a6ab4d5388e3e0a1258f3de915991563039440ea
|
|
@@ -15,6 +15,7 @@ module ActiveCampaignWrapper
|
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
# :nocov:
|
|
18
19
|
class Error < StandardError
|
|
19
20
|
attr_accessor :response
|
|
20
21
|
|
|
@@ -31,4 +32,5 @@ module ActiveCampaignWrapper
|
|
|
31
32
|
class NotFound < Error; end
|
|
32
33
|
|
|
33
34
|
class TooManyRequests < Error; end
|
|
35
|
+
# :nocov:
|
|
34
36
|
end
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require 'active_support/core_ext/string'
|
|
4
4
|
|
|
5
|
+
# :nocov:
|
|
5
6
|
module ActiveCampaignWrapper
|
|
6
7
|
module Helpers
|
|
7
8
|
module_function
|
|
@@ -99,8 +100,9 @@ module ActiveCampaignWrapper
|
|
|
99
100
|
ActiveCampaignWrapper::Error
|
|
100
101
|
end
|
|
101
102
|
raise class_name.new(response),
|
|
102
|
-
response['message'] || response['errors']
|
|
103
|
+
response['message'] || response['errors']&.join(', ') || response['error'],
|
|
103
104
|
caller
|
|
104
105
|
end
|
|
105
106
|
end
|
|
106
107
|
end
|
|
108
|
+
# :nocov:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_campaign_wrapper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anmol Yousaf
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -258,6 +258,7 @@ files:
|
|
|
258
258
|
- lib/active_campaign_wrapper/api/group/arguments.rb
|
|
259
259
|
- lib/active_campaign_wrapper/api/list/arguments.rb
|
|
260
260
|
- lib/active_campaign_wrapper/client.rb
|
|
261
|
+
- lib/active_campaign_wrapper/codecov.yml
|
|
261
262
|
- lib/active_campaign_wrapper/configuration.rb
|
|
262
263
|
- lib/active_campaign_wrapper/core/contact_automation_gateway.rb
|
|
263
264
|
- lib/active_campaign_wrapper/core/contact_gateway.rb
|