mailblastr 1.0.0 → 1.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bace5e9375b668304c40339acea2334895be7f7af3221f628ad4f7fa21762752
4
- data.tar.gz: a68a14501aab6cf50309f0bb0d938dad58a5b4a96b31cb09cb9b5285f63979eb
3
+ metadata.gz: 1c2dd507bdb6a696c8f90fa6dd7ddf80984fd90b5beeafb35123b35e2f09fb5b
4
+ data.tar.gz: 645865ed887927f1be77876cefa655fd1429e3a14a4a8088b14b9a07779f6936
5
5
  SHA512:
6
- metadata.gz: ac99877d9dc0970341b2c1b16e075dfb1f32832d6f10d6fbc220243ccd02a73597cbda5534f5918b5f28f577a2090b5becfa51f23d2e22e90f901446d76a3d1f
7
- data.tar.gz: 7e0e7c62751f5042054e502964595e6ffbc6f732469dca2076bdb748031449efb0023bc5fbd1ae5d1901a4f2ce0aed999957dc82ea0b4b8d693c6416543d5225
6
+ metadata.gz: 1a2c9320060a5345b7983c367258764b0f085240df61128f4bc90930fd9dddb318f0016fcddceba178dfeaeece186a2176f2bcf07deb01307836047cb9fa340d
7
+ data.tar.gz: 83da5ccbe5eb2b93ee457b8eb901140386c7b9d9876130210545027c9a3bfa48a8dedd040d71cee711f1ab2dd39d8b6a2672839ae94f9122d99b7697e2a67416
@@ -4,7 +4,10 @@ module Mailblastr
4
4
  module ApiKeys
5
5
  class << self
6
6
  # Create an API key — the full token is returned only once, here.
7
- # POST /api-keys — params: { name:, permission: "full_access"|"sending_access", domain_id: }
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 (works with both
9
+ # permissions); domain_id: is the legacy single-domain form. Providing
10
+ # both is a 422.
8
11
  def create(params)
9
12
  Client.request(:post, "/api-keys", body: params)
10
13
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mailblastr
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailblastr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MailBlastr