red-tux/zbxapi — pull request #23 by maescomua (2014-04-01 23:05:17+00:00)
Title: Fixed the issue with uninitialized @custom_headers variable

0.3.6 has introduced following issue:
gems/zbxapi-0.3.7/./zbxapi.rb:261:in `login': General Login error, check host connectivity. (ZbxAPI_ExceptionBadAuth)

In order to fix this @custom_headers variable needs to be initialized when class is instantiated.