Class: LeanplumApi::Connection::ContentReadOnly
- Inherits:
-
Production
- Object
- Production
- LeanplumApi::Connection::ContentReadOnly
- Defined in:
- lib/leanplum_api/connections/content_read_only.rb
Constant Summary
Constants inherited from Production
Instance Method Summary collapse
-
#authentication_params ⇒ Object
Data export API requests need to use the Data Export key.
-
#initialize(options = {}) ⇒ ContentReadOnly
constructor
A new instance of ContentReadOnly.
Methods inherited from Production
Constructor Details
#initialize(options = {}) ⇒ ContentReadOnly
Returns a new instance of ContentReadOnly.
5 6 7 8 |
# File 'lib/leanplum_api/connections/content_read_only.rb', line 5 def initialize( = {}) raise 'Content read only key not configured!' unless LeanplumApi.configuration.content_read_only_key super end |
Instance Method Details
#authentication_params ⇒ Object
Data export API requests need to use the Data Export key
11 12 13 |
# File 'lib/leanplum_api/connections/content_read_only.rb', line 11 def authentication_params super.merge(clientKey: LeanplumApi.configuration.content_read_only_key) end |