maxemail_api 2.0.3 → 2.0.4

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
  SHA1:
3
- metadata.gz: a79346ee235125dd91050bdcda3b8af33d7227c6
4
- data.tar.gz: f46dd31a4c622c1fd90d55d7616c536be2ea8472
3
+ metadata.gz: 8f2f46edfe4cf6e3697cfe69d257ca3b53eb21b7
4
+ data.tar.gz: f9b8ae4e9ca2274a1eb008b5a641ec12c27c610f
5
5
  SHA512:
6
- metadata.gz: 740560a2f1eb2e656d8d37251a6c3746749f02da3d2a4d793342d31948f962ce64685b01fd252787180cc71cf33c3702c16effcee95734e8cb32579bc816e821
7
- data.tar.gz: 71471456d3215bc86a4d97ad51b5542402b530aa2ad150f4f85db04396b8a287c2d38cf8fba90c36a5e7989c3cc177c875f7d06a44b95bb0e5285d0040ca2c50
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxemail_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Murray Catto