Module: Clearbit
- Defined in:
- lib/clearbit.rb,
lib/clearbit/base.rb,
lib/clearbit/logo.rb,
lib/clearbit/mash.rb,
lib/clearbit/risk.rb,
lib/clearbit/pending.rb,
lib/clearbit/version.rb,
lib/clearbit/webhook.rb,
lib/clearbit/resource.rb,
lib/clearbit/discovery.rb,
lib/clearbit/ipcompany.rb,
lib/clearbit/watchlist.rb,
lib/clearbit/enrichment.rb,
lib/clearbit/prospector.rb,
lib/clearbit/autocomplete.rb,
lib/clearbit/enrichment/person.rb,
lib/clearbit/enrichment/company.rb,
lib/clearbit/enrichment/person_company.rb,
lib/clearbit/errors/invalid_webhook_signature.rb
Defined Under Namespace
Modules: Autocomplete, Enrichment, Errors
Classes: Base, Discovery, IPCompany, Logo, Mash, Pending, Prospector, Resource, Risk, Watchlist, Webhook
Constant Summary
collapse
- Person =
Enrichment::Person
- Company =
Enrichment::Company
- VERSION =
'0.2.4'
Class Method Summary
collapse
Class Method Details
.api_key=(value) ⇒ Object
5
6
7
|
# File 'lib/clearbit.rb', line 5
def self.api_key=(value)
Base.key = value
end
|
.key ⇒ Object
13
14
15
|
# File 'lib/clearbit.rb', line 13
def self.key
Base.key
end
|
.key! ⇒ Object
17
18
19
|
# File 'lib/clearbit.rb', line 17
def self.key!
key || raise('Clearbit.key not set')
end
|
.key=(value) ⇒ Object
9
10
11
|
# File 'lib/clearbit.rb', line 9
def self.key=(value)
Base.key = value
end
|