You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the official ruby wrapper for the Blaze Verify API.
6
+
This is the official ruby wrapper for the Emailable API.
7
7
8
8
It also includes an Active Record (Rails) validator to verify email attributes.
9
9
10
10
## Documentation
11
11
12
-
See the [Ruby API docs](https://blazeverify.com/docs/api/?ruby).
12
+
See the [Ruby API docs](https://emailable.com/docs/api/?ruby).
13
13
14
14
## Installation
15
15
16
16
Add this line to your application's Gemfile:
17
17
18
18
```ruby
19
-
gem 'blazeverify'
19
+
gem 'emailable'
20
20
```
21
21
22
22
And then execute:
@@ -25,34 +25,34 @@ And then execute:
25
25
26
26
Or install it yourself as:
27
27
28
-
$ gem install blazeverify
28
+
$ gem install emailable
29
29
30
30
## Usage
31
31
32
-
The library needs to be configured with your account's API key which is available in your [Blaze Verify Dashboard](https://app.blazeverify.com/api). Set `BlazeVerify.api_key` to its value:
32
+
The library needs to be configured with your account's API key which is available in your [Emailable Dashboard](https://app.emailable.com/api). Set `Emailable.api_key` to its value:
33
33
34
34
### Setup
35
35
36
36
```ruby
37
-
require'blazeverify'
37
+
require'emailable'
38
38
39
39
# set api key
40
-
BlazeVerify.api_key ='live_...'
40
+
Emailable.api_key ='live_...'
41
41
```
42
42
43
43
### Verification
44
44
45
45
```ruby
46
46
# verify an email address
47
-
BlazeVerify.verify('jarrett@blazeverify.com')
47
+
Emailable.verify('jarrett@emailable.com')
48
48
```
49
49
50
50
#### Slow Email Server Handling
51
51
52
52
Some email servers are slow to respond. As a result, the timeout may be reached
53
53
before we are able to complete the verification process. If this happens, the
54
54
verification will continue in the background on our servers, and a
55
-
`BlazeVerify::TimeoutError` will be raised. We recommend sleeping for at least
55
+
`Emailable::TimeoutError` will be raised. We recommend sleeping for at least
56
56
one second and trying your request again. Re-requesting the same verification
57
57
with the same options will not impact your credit allocation within a 5 minute
58
58
window. You can test this behavior using a test key and the special
0 commit comments