lib/weeter/plugins/subscription_plugin.rb in weeter-0.10.0 vs lib/weeter/plugins/subscription_plugin.rb in weeter-0.11.0

- old
+ new

@@ -7,20 +7,20 @@ module Weeter module Plugins class SubscriptionPlugin delegate :get_initial_filters, :to => :configured_plugin delegate :listen_for_filter_update, :to => :configured_plugin - + def initialize(client_app_config) @config = client_app_config end - + protected def configured_plugin @configured_plugin ||= begin Weeter.logger.info("Using #{@config.subscription_plugin} subscription plugin") Subscription.const_get(@config.subscription_plugin.to_s.camelize).new(@config) end end end end -end \ No newline at end of file +end