Module: APIHub
- Defined in:
- lib/apihub.rb,
lib/apihub/base.rb,
lib/apihub/mash.rb,
lib/apihub/person.rb,
lib/apihub/company.rb,
lib/apihub/version.rb,
lib/apihub/resource.rb,
lib/apihub/streaming.rb,
lib/apihub/watchlist.rb,
lib/apihub/streaming/person.rb,
lib/apihub/streaming/company.rb
Defined Under Namespace
Modules: Streaming
Classes: Base, Company, Mash, Person, Resource, Watchlist
Constant Summary
collapse
- VERSION =
"0.0.6"
Class Method Summary
collapse
Class Method Details
.api_key=(value) ⇒ Object
5
6
7
8
9
10
|
# File 'lib/apihub.rb', line 5
def self.api_key=(value)
Base.options Base.options.merge(
auth_type: :bearer,
password: value
)
end
|
.key=(value) ⇒ Object
12
13
14
|
# File 'lib/apihub.rb', line 12
def self.key=(value)
self.api_key = value
end
|