mailblastr 1.2.0 → 1.3.0
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 +4 -4
- data/lib/mailblastr/api_keys.rb +3 -3
- data/lib/mailblastr/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: 99ac5a9a0b6d430bd0729c4f9c94df139f704ee3bcf185a1eb4bfa56462ab238
|
|
4
|
+
data.tar.gz: 4a22ce2d4c0b8bfa621cba46e4f35a16ba7a1402a7627d92dae6da4fd67de55b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 289cc91940a99949087ffbf4319a0d459028815518fc36e038fb53dc5b889642135556589e9040d545488901baddcf4abb0835e039c3a80b65a1bc9a756455a5
|
|
7
|
+
data.tar.gz: d40cbb3ca7b66d4913764954dafb14a2b5994ec8987c8109cec7702b026e60095becf46421598308932cc8a341df2b2ab4c1f1217801902c2a8682e942cdfd9a
|
data/lib/mailblastr/api_keys.rb
CHANGED
|
@@ -5,9 +5,9 @@ module Mailblastr
|
|
|
5
5
|
class << self
|
|
6
6
|
# Create an API key — the full token is returned only once, here.
|
|
7
7
|
# POST /api-keys — params: { name:, permission: "full_access"|"sending_access", domain_id:, domain_ids: }
|
|
8
|
-
# domain_ids: scopes the key to one or more domains
|
|
9
|
-
#
|
|
10
|
-
# both is a 422.
|
|
8
|
+
# domain_ids: scopes the key to one or more domains — sending_access only
|
|
9
|
+
# (combining a domain restriction with full_access is a 422); domain_id:
|
|
10
|
+
# is the legacy single-domain form. Providing both is a 422.
|
|
11
11
|
def create(params)
|
|
12
12
|
Client.request(:post, "/api-keys", body: params)
|
|
13
13
|
end
|
data/lib/mailblastr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mailblastr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MailBlastr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|