Module: Clearbit

Defined in:
lib/clearbit.rb,
lib/clearbit/base.rb,
lib/clearbit/mash.rb,
lib/clearbit/person.rb,
lib/clearbit/company.rb,
lib/clearbit/version.rb,
lib/clearbit/webhook.rb,
lib/clearbit/resource.rb,
lib/clearbit/streaming.rb,
lib/clearbit/watchlist.rb,
lib/clearbit/prospector.rb,
lib/clearbit/person_company.rb,
lib/clearbit/streaming/person.rb,
lib/clearbit/streaming/company.rb,
lib/clearbit/streaming/person_company.rb,
lib/clearbit/errors/invalid_webhook_signature.rb

Defined Under Namespace

Modules: Errors, Streaming Classes: Base, Company, Mash, Person, PersonCompany, Prospector, Resource, Watchlist, Webhook

Constant Summary collapse

VERSION =
"0.1.6"

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

.keyObject



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