zerobounce 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c89aae3611e01d420af253c1e3b60a09a5e2903
4
- data.tar.gz: 6082f7d46074773f1c8b98cf79c0c1a65a9ba8ee
3
+ metadata.gz: 5a4544646ae81c6432e05bc9a0b2da7fea119296
4
+ data.tar.gz: bda88f461a6c4f038b1da7d23394bcb6b45c7f15
5
5
  SHA512:
6
- metadata.gz: 0733544edd82e48f24bab8ecb1880039d8289d7c62a939250c2e5e571a2c906921ac17bbf3b3df2d5e1c4190598c29bb4b78f808aeeed6847a85d18e8da2a713
7
- data.tar.gz: d091198164aef11b24ee69f3efa4daf1795e78c769b50352cad5d94cef7947a91847b6d433635f8ef3e94ae2c6610360019954199a3319e64c4cb6100684f000
6
+ metadata.gz: d65d882afffa2dfd06b8d9c4a726bfdf26d47f5a037e1ebacac47d40539c59f6f627035c32dfb2dfe2d7683e605ddc207b33dac8671ac0e8034d7b4f80fe29e2
7
+ data.tar.gz: 8c4e17d5902ee1c540ed6a89cb9534d77879702c8123e503fb79d28ad831c5b451c9b4423c83a7f76ee1470bad63982e4e66d6994463025900a00403d1bf85d8
data/lib/zerobounce.rb CHANGED
@@ -39,5 +39,13 @@ module Zerobounce
39
39
  def validate(params)
40
40
  Request.new(params).get(params)
41
41
  end
42
+
43
+ # Convenience method for checking if an email address is valid.
44
+ #
45
+ # @param [String] email
46
+ # @return [Boolean]
47
+ def valid?(email)
48
+ validate(email: email).valid?
49
+ end
42
50
  end
43
51
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Zerobounce
4
4
  # The version of the gem.
5
- VERSION = '0.0.2'
5
+ VERSION = '0.0.3'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerobounce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Frase
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-25 00:00:00.000000000 Z
11
+ date: 2018-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday