zabbixapi 0.5.2b4 → 0.5.2b5

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,20 @@ class ZabbixApi
13
13
  "name"
14
14
  end
15
15
 
16
+ def get_full_data(data)
17
+ log "[DEBUG] Call get_full_data with parametrs: #{data.inspect}"
18
+
19
+ @client.api_request(
20
+ :method => "#{method_name}.get",
21
+ :params => {
22
+ :search => {
23
+ indentify.to_sym => data[indentify.to_sym]
24
+ },
25
+ :output => "extend"
26
+ }
27
+ )
28
+ end
29
+
16
30
  def get_ids_by_host(data)
17
31
  ids = []
18
32
  result = @client.api_request(:method => "graph.get", :params => {:filter => {:host => data[:host]}, :output => "extend"})
@@ -1,3 +1,3 @@
1
1
  class ZabbixApi
2
- VERSION = "0.5.2b4"
2
+ VERSION = "0.5.2b5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zabbixapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2b4
4
+ version: 0.5.2b5
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -79,7 +79,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
79
  version: '0'
80
80
  segments:
81
81
  - 0
82
- hash: 839256002440888061
82
+ hash: -2812187451419365862
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements: