lib/keikokuc/notification.rb in keikokuc-0.4 vs lib/keikokuc/notification.rb in keikokuc-0.5

- old
+ new

@@ -35,11 +35,10 @@ ATTRS.each do |attribute| if opts.has_key?(attribute.to_sym) send("#{attribute}=", opts[attribute.to_sym]) end end - @read = false @client = opts[:client] end # Public: publishes this notification to keikoku # @@ -88,8 +87,8 @@ h end end def client # :nodoc: - @client ||= Keikokuc::Client.new(producer_api_key: producer_api_key) + @client ||= Keikokuc::Client.new(:producer_api_key => producer_api_key) end end