lib/telegram/bot/exceptions/response_error.rb in telegram-bot-ruby-0.3.11 vs lib/telegram/bot/exceptions/response_error.rb in telegram-bot-ruby-0.4.0

- old
+ new

@@ -12,10 +12,10 @@ super + format(' (%s)', data.map { |k, v| %(#{k}: "#{v}") }.join(', ')) end def error_code - data[:error_code] || data["error_code"] + data[:error_code] || data['error_code'] end private def data