README.md in zabbix-client-0.0.2 vs README.md in zabbix-client-0.0.3
- old
+ new
@@ -1,9 +1,11 @@
# Zabbix::Client
This is a simple client of Zabbix API.
+[![Gem Version](https://badge.fury.io/rb/zabbix-client.svg)](http://badge.fury.io/rb/zabbix-client)
+
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -40,28 +42,28 @@
```
### Use proxy
```ruby
-client = Zabbix::Client.new(
+Zabbix::Client.new(
'http://localhost/zabbix/api_jsonrpc.php',
proxy_user: 'username', proxy_password: 'password'
)
```
### Basic auth
```ruby
-client = Zabbix::Client.new(
+Zabbix::Client.new(
'http://localhost/zabbix/api_jsonrpc.php',
basic_auth_user: 'username', basic_auth_password: 'password'
)
```
### Debug mode
```ruby
-client = Zabbix::Client.new(
+Zabbix::Client.new(
'http://localhost/zabbix/api_jsonrpc.php',
debug: true
)
```