pusher / pusher-http-ruby

Ruby library for Pusher Channels HTTP API
https://pusher.com/channels
MIT License
664 stars 124 forks source link

Make encryption_master_key_base64 globally configurable #177

Closed cjstewart88 closed 3 years ago

cjstewart88 commented 3 years ago

Description

Original issue write-up: https://github.com/pusher/pusher-http-ruby/issues/176

You currently can not configure encryption_master_key_base64 using the global config style.

Pusher.encryption_master_key_base64 = ENV['ENCRYPTION_MASTER_KEY_BASE64']

The above results in:

NoMethodError: undefined method `encryption_master_key_base64=' for Pusher:Module

CHANGELOG