snov 0.2.2 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f455eb1bcf297a8aad704e44c84c18c351656be0b3f7e77e1cc36765323c130f
|
4
|
+
data.tar.gz: 23dd283539c2b2e2ba6467153bd812132b9e31fde724ec182d090458f5b7b426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 534d631fea92f1d34ea89f4c2c9b61f9290c57e1c1ee0a71f669c176379ce5269a872f472bbd5c8d8dda090e58eea2205a37c5c1dec9ea08404a834cb0fea7cc
|
7
|
+
data.tar.gz: 9c85a473ab4fdaa9e0f26f2ab75c5dbc8f5a9f11c7fce05000ba4c2f53a7921d7dad90cf7f8fb4f935cd0ee1e6dc452a8166f9b118ed8acefd9f2ac7fb3e6eab
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/snov/domain_search.rb
CHANGED
@@ -4,7 +4,7 @@ require 'camel_snake_struct'
|
|
4
4
|
module Snov
|
5
5
|
class DomainSearch
|
6
6
|
Response = Class.new(CamelSnakeStruct)
|
7
|
-
Response.example(MultiJson.load(File.read("#{__dir__}/fake_client/
|
7
|
+
Response.example(MultiJson.load(File.read("#{__dir__}/fake_client/get_v2_domain-emails-with-info.json")))
|
8
8
|
include Enumerable
|
9
9
|
|
10
10
|
attr_reader :client, :domain, :type, :limit
|
@@ -42,11 +42,11 @@ module Snov
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def raw_result
|
45
|
-
Response.new(client.
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
45
|
+
@raw_result ||= Response.new(client.get("/v2/domain-emails-with-info",
|
46
|
+
'lastId' => @last_id,
|
47
|
+
'limit' => @limit,
|
48
|
+
'type' => type.to_s,
|
49
|
+
'domain' => domain.to_s))
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
File without changes
|
data/lib/snov/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Petersen-Speelman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -135,10 +135,10 @@ files:
|
|
135
135
|
- lib/snov/domain_search.rb
|
136
136
|
- lib/snov/fake_client.rb
|
137
137
|
- lib/snov/fake_client/get_v1_get-user-lists.json
|
138
|
+
- lib/snov/fake_client/get_v2_domain-emails-with-info.json
|
138
139
|
- lib/snov/fake_client/post_v1_get-profile-by-email.json
|
139
140
|
- lib/snov/fake_client/post_v1_get-prospects-by-email.json
|
140
141
|
- lib/snov/fake_client/post_v1_prospect-list.json
|
141
|
-
- lib/snov/fake_client/post_v2_domain-emails-with-info.json
|
142
142
|
- lib/snov/get_all_prospects_from_list.rb
|
143
143
|
- lib/snov/get_profile_by_email.rb
|
144
144
|
- lib/snov/get_prospect_list.rb
|