Class: LeanplumApi::Connection::Development
- Inherits:
-
Production
- Object
- Production
- LeanplumApi::Connection::Development
show all
- Defined in:
- lib/leanplum_api/connections/development.rb
Constant Summary
Constants inherited
from Production
Production::LEANPLUM_API_PATH
Instance Method Summary
collapse
Methods inherited from Production
#get, #multi
Constructor Details
#initialize(options = {}) ⇒ Development
5
6
7
8
|
# File 'lib/leanplum_api/connections/development.rb', line 5
def initialize(options = {})
raise 'Development key not configured!' unless LeanplumApi.configuration.development_key
super
end
|
Instance Method Details
#authentication_params ⇒ Object
10
11
12
|
# File 'lib/leanplum_api/connections/development.rb', line 10
def authentication_params
super.merge(clientKey: LeanplumApi.configuration.development_key)
end
|