Sha256: 7405336f377298e77b390493ec79d08d3f399b2fbee367b240dd72e3e829887f
Contents?: true
Size: 399 Bytes
Versions: 3
Compression:
Stored size: 399 Bytes
Contents
module Aua::Agents::Fuerst PATTERN = /^(DynaMite|GrandTotal|TimeLog)/ def self.extend?(agent) agent.app =~ PATTERN end def type :ApiClient end def name @name ||= app.match(PATTERN)[1].to_sym end def version @version ||= begin return versions.first if app == "DynaMite" || app == "GrandTotal" || app == "TimeLog" app.sub(PATTERN, "") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aua-mite-0.0.8 | lib/aua-mite/agents/fuerst.rb |
aua-mite-0.0.7 | lib/aua-mite/agents/fuerst.rb |
aua-mite-0.0.6 | lib/aua-mite/agents/fuerst.rb |