mailcapture 1.0.1 → 1.0.2
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/mailcapture/client.rb +1 -1
- data/lib/mailcapture/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 674fb0c1d27f96dc0211fcd9713e164a415209a19596a427a26dda66b5d876f5
|
|
4
|
+
data.tar.gz: 143d6c1e1b62f86874f19e1b1a9ec5792717f2269c6444b541ab2117cf252b0a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26f9560e35b91d32f5dd3a123f398211a16567e089f24ac7c23fd165b454f1ff3b68002c51204ae3f919624d0d95f939ca5350ebd2a81a9181f01755fc93e1c4
|
|
7
|
+
data.tar.gz: 657d3e665f70341a4fa278cd3319ecccd1947b6ab024ce9696af405f96b73256404dddeef8d90b83ee6ab609d76cfe211cf0a486afb2abb6d47edad481636610
|
data/lib/mailcapture/client.rb
CHANGED
|
@@ -43,7 +43,7 @@ module MailCapture
|
|
|
43
43
|
# @param base_url [String] API base URL (override for local dev)
|
|
44
44
|
# @param timeout [Numeric] default request timeout in seconds
|
|
45
45
|
# @param username [String, nil] pre-set username to skip +ping+
|
|
46
|
-
def initialize(api_key:, base_url: 'https://mailcapture.app', timeout: 10, username: nil)
|
|
46
|
+
def initialize(api_key:, base_url: 'https://api.mailcapture.app', timeout: 10, username: nil)
|
|
47
47
|
raise ArgumentError,
|
|
48
48
|
"MailCapture: api_key is required.\n" \
|
|
49
49
|
" MailCapture.new(api_key: ENV['MAILCAPTURE_API_KEY'])" if api_key.to_s.empty?
|
data/lib/mailcapture/version.rb
CHANGED