Method: KSConnect::API::Plugin::Domain#notify
- Defined in:
- lib/ksconnect/api/plugin/domain.rb
#notify(data) ⇒ Object
39 40 41 42 43 |
# File 'lib/ksconnect/api/plugin/domain.rb', line 39 def notify(data) $redis.with { |redis| redis.lpush("ks:notifications_push", data.merge({ domain_name: @name, plugin_name: @plugin_name }).to_json) } end |