lib/telegram/bot/client_stub.rb in telegram-bot-0.9.0.alpha2 vs lib/telegram/bot/client_stub.rb in telegram-bot-0.9.0

- old
+ new

@@ -41,10 +41,10 @@ def reset @requests = Hash.new { |h, k| h[k] = [] } end - def request(action, body) + def request(action, body = {}) requests[action.to_sym] << body end end end end