Sha256: 37851884771003f5ac57f99ceceaeb57bf43f82264dda682e35e3c02ac43d0c6
Contents?: true
Size: 470 Bytes
Versions: 3
Compression:
Stored size: 470 Bytes
Contents
module Aua::Agents::Fuerst def self.extend?(agent) agent.app == "DynaMite" || agent.app == "GrandTotal" || agent.app =~ /^DynaMite/ || agent.app =~ /^GrandTotal/ end def type :ApiClient end def name @name ||= app =~ /^GrandTotal/ ? :GrandTotal : :DynaMite end def version @version ||= begin return versions.first if app == "DynaMite" || app == "GrandTotal" app.sub(/^DynaMite|GrandTotal/, "") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aua-mite-0.0.3 | lib/aua-mite/agents/fuerst.rb |
aua-mite-0.0.2 | lib/aua-mite/agents/fuerst.rb |
aua-mite-0.0.1 | lib/aua-mite/agents/fuerst.rb |