mailgun-js
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -188,3 +188,3 @@ module.exports = { | ||
"method": "DELETE", | ||
"title": "delete", | ||
"title": "delete" | ||
} | ||
@@ -450,2 +450,22 @@ ] | ||
{ | ||
"description": "Paginate over list members in the given mailing list", | ||
"href": "/lists/{address}/members/pages", | ||
"method": "GET", | ||
"title": "page", | ||
"properties": { | ||
"subscribed": { | ||
"type": "boolean" | ||
}, | ||
"limit": { | ||
"type": "number" | ||
}, | ||
"page": { | ||
"type": "string" | ||
}, | ||
"address": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
{ | ||
"description": "Retrieves a mailing list member.", | ||
@@ -452,0 +472,0 @@ "href": "/lists/{address}/members/{member_address}", |
@@ -8,3 +8,3 @@ { | ||
], | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"homepage": "https://github.com/bojand/mailgun-js", | ||
@@ -11,0 +11,0 @@ "license": "MIT", |
@@ -846,2 +846,11 @@ var auth = require('./auth.json'); | ||
'test lists().members().pages().page()': function (done) { | ||
mailgun.lists(fixture.mailingList.address).members().pages().page({page: 'first'}, function (err, body) { | ||
assert.ifError(err); | ||
assert.ok(Array.isArray(body.items)); | ||
assert.ok(typeof body.paging === 'object'); | ||
done(); | ||
}); | ||
}, | ||
'test lists.members().info()': function (done) { | ||
@@ -848,0 +857,0 @@ var data = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109867
2464