Sha256: 040dc47b6a9fbeca8ef103696d741a02aaadee9aa7479eba019d7ba3c1175735

Contents?: true

Size: 392 Bytes

Versions: 9

Compression:

Stored size: 392 Bytes

Contents

class ZabbixApi
  class Basic

    def initialize(client)
      @client = client
    end

    def method_name
      raise ApiError.new("Can't call method_name here")
    end

    def default_options
      {}
    end

    def keys
      key + "s"
    end

    def key
      method_name + "id"
    end

    def indentify
      raise ApiError.new("Can't call indentify here")
    end

  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
logstash-filter-zabbix-0.1.2 vendor/bundle/jruby/1.9/gems/zabbixapi-2.4.9/lib/zabbixapi/basic/basic_init.rb
logstash-filter-zabbix-0.1.1 vendor/bundle/jruby/1.9/gems/zabbixapi-2.4.9/lib/zabbixapi/basic/basic_init.rb
zabbixapi-3.1.0 lib/zabbixapi/basic/basic_init.rb
zabbixapi-3.0.0 lib/zabbixapi/basic/basic_init.rb
zabbixapi-2.4.9 lib/zabbixapi/basic/basic_init.rb
zabbixapi-2.4.8 lib/zabbixapi/basic/basic_init.rb
zabbixapi-2.4.7 lib/zabbixapi/basic/basic_init.rb
zabbixapi-2.4.6 lib/zabbixapi/basic/basic_init.rb
zabbixapi-2.4.5 lib/zabbixapi/basic/basic_init.rb