lib/chronicle/zulip/private_message_extractor.rb in chronicle-zulip-0.1.1 vs lib/chronicle/zulip/private_message_extractor.rb in chronicle-zulip-0.1.2

- old
+ new

@@ -16,10 +16,10 @@ def prepare @proxy = Chronicle::Zulip::Proxy.new(username: @config.username, realm: @config.realm, access_token: @config.access_token) end def extract - @proxy.all_private_messages do |message| + @proxy.all_private_messages(since: @config.since, limit: @config.limit) do |message| yield Chronicle::ETL::Extraction.new(data: message) end end end end