maxemail_api 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maxemail_api/subscriptions.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f2f46edfe4cf6e3697cfe69d257ca3b53eb21b7
|
4
|
+
data.tar.gz: f9b8ae4e9ca2274a1eb008b5a641ec12c27c610f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 182a88f6884f68b080ff5fec245c56ce91f1972e31d4655de0875b6628a63cef40555bd19571133ddc5d8a1921e61afa8b8908fdf19c72c60294fc266d5c6326
|
7
|
+
data.tar.gz: a910f39a63a9a4e8108233b8f2b0cce998b6f4679c6ceaf1b6716c3e636b85147ed7d083ff7a11cbf2a431fe6c9bb71f2ca79128f028477030f38a348d017883
|
@@ -51,6 +51,10 @@ module MaxemailApiSubscriptions
|
|
51
51
|
MaxemailApiShared.send_request(params: { method: 'updateByEmailAddress', emailAddress: email_address, data: data }, method: 'recipient')
|
52
52
|
end
|
53
53
|
|
54
|
+
def fetch_profile_data(email_address:, profile_descriptions:)
|
55
|
+
MaxemailApiShared.send_request(params: { method: 'fetchProfileDataByEmailAddress', emailAddress: email_address, profileDescriptions: profile_descriptions }, method: 'recipient')
|
56
|
+
end
|
57
|
+
|
54
58
|
def find_recipient_id(email_address: nil)
|
55
59
|
response = MaxemailApiShared.send_request(params: { method: 'findByEmailAddress', emailAddress: email_address }, method: 'recipient').to_s
|
56
60
|
return nil if response == 'null'
|