Class: LeanplumApi::Connection::Development
- Inherits:
-
Production
- Object
- Production
- LeanplumApi::Connection::Development
- Defined in:
- lib/leanplum_api/connections/development.rb
Constant Summary
Constants inherited from Production
Instance Method Summary collapse
- #authentication_params ⇒ Object
-
#initialize(options = {}) ⇒ Development
constructor
A new instance of Development.
Methods inherited from Production
Constructor Details
#initialize(options = {}) ⇒ Development
Returns a new instance of Development.
5 6 7 8 |
# File 'lib/leanplum_api/connections/development.rb', line 5 def initialize( = {}) 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 |