zerobounce 0.0.3 → 0.0.4

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: 5a4544646ae81c6432e05bc9a0b2da7fea119296
4
- data.tar.gz: bda88f461a6c4f038b1da7d23394bcb6b45c7f15
3
+ metadata.gz: c26d8ef84543260f1c12b728f44ab9c25f9ddd12
4
+ data.tar.gz: 23e8dd446e127532d5da39d7394b48cfb342d663
5
5
  SHA512:
6
- metadata.gz: d65d882afffa2dfd06b8d9c4a726bfdf26d47f5a037e1ebacac47d40539c59f6f627035c32dfb2dfe2d7683e605ddc207b33dac8671ac0e8034d7b4f80fe29e2
7
- data.tar.gz: 8c4e17d5902ee1c540ed6a89cb9534d77879702c8123e503fb79d28ad831c5b451c9b4423c83a7f76ee1470bad63982e4e66d6994463025900a00403d1bf85d8
6
+ metadata.gz: 6141f44171fbe3a7589a1a02ef6c60df3b0d4dd9fe20e9b574d702670c7a445079081691c66b03938f40a3a4915e7af610b2745e9460804e19e6cfa8b88143d7
7
+ data.tar.gz: a473b7a08f5eb680f07d71e33f5f3d5898593a8f001df15166c7dcdcadb02c1c133d40242a9ce5092ad5557e3e5de7a9f5033a0f69107859cf1e2ec5d410d73b
@@ -60,7 +60,7 @@ module Zerobounce
60
60
  class InternalServerError < Error
61
61
  end
62
62
 
63
- # A parameter was missing, usually the apiKey.
63
+ # A parameter was missing, usually the apikey.
64
64
  #
65
65
  # @author Aaron Frase
66
66
  class MissingParameter < Error
@@ -58,9 +58,9 @@ module Zerobounce
58
58
  # @param [Hash] params
59
59
  # @return [Hash]
60
60
  def get_params(params)
61
- valid_params = %i[apiKey ipaddress email]
61
+ valid_params = %i[apikey ipaddress email]
62
62
  params[:ipaddress] = params.delete(:ip_address) if params.key?(:ip_address) # normalize ipaddress key
63
- { apiKey: Zerobounce.config.api_key }.merge(params.select { |k, _| valid_params.include?(k) })
63
+ { apikey: Zerobounce.config.api_key }.merge(params.select { |k, _| valid_params.include?(k) })
64
64
  end
65
65
  end
66
66
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Zerobounce
4
4
  # The version of the gem.
5
- VERSION = '0.0.3'
5
+ VERSION = '0.0.4'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerobounce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Frase