clearbit 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/examples/person.rb +1 -1
- data/lib/clearbit/person.rb +4 -0
- data/lib/clearbit/resource.rb +4 -0
- data/lib/clearbit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d68455a60377bc6791b4ed40e4c600c562e44acd
|
4
|
+
data.tar.gz: 78efc3fa58d30a2d046064ab9e2f623340af1d98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1ec169b5f211542781605efe66c4c6f99fea420dea60d23dc36122e631906324f3a69d5278c3b5c16b3efa4e15677164a7b1adc5a2af814fc3a22d07d0ece21
|
7
|
+
data.tar.gz: 35d6afa7db1b6bacc2376803e9e3c5595fad7ce9434f3dcd58107cc32e1129eb80fcba408a695bcc85504170bc05eec619025aec84f0fe51df0bd1397249d6b2
|
data/README.md
CHANGED
@@ -18,13 +18,13 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
First authorize requests by setting the API key found on your [account's settings page](https://clearbit.com/
|
21
|
+
First authorize requests by setting the API key found on your [account's settings page](https://clearbit.com/keys).
|
22
22
|
|
23
23
|
Clearbit.key = ENV['CLEARBIT_KEY']
|
24
24
|
|
25
25
|
Then you can lookup people by email address:
|
26
26
|
|
27
|
-
person = Clearbit::Streaming::Person[email: '
|
27
|
+
person = Clearbit::Streaming::Person[email: 'alex@alexmaccaw.com']
|
28
28
|
|
29
29
|
If the person can't be found, then `nil` will be returned.
|
30
30
|
|
@@ -44,7 +44,7 @@ See the [documentation](https://clearbit.com/docs#company-api) for more informat
|
|
44
44
|
|
45
45
|
The gem also includes a `clearbit` executable, which you can use like this:
|
46
46
|
|
47
|
-
$ clearbit person --email
|
47
|
+
$ clearbit person --email alex@alexmaccaw.com
|
48
48
|
|
49
49
|
{
|
50
50
|
"name": {
|
@@ -68,4 +68,4 @@ Or to look up a company:
|
|
68
68
|
"Travis Kalanick",
|
69
69
|
"Garrett Camp"
|
70
70
|
],
|
71
|
-
...
|
71
|
+
...
|
data/examples/person.rb
CHANGED
data/lib/clearbit/person.rb
CHANGED
data/lib/clearbit/resource.rb
CHANGED
data/lib/clearbit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clearbit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex MacCaw
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|