lib/aua-mite/agents/all_mite.rb in aua-mite-0.0.5 vs lib/aua-mite/agents/all_mite.rb in aua-mite-0.0.6
- old
+ new
@@ -1,20 +1,20 @@
module Aua::Agents::AllMite
-
+
PATTERN = /^All\.mite\-v([\d\.]+)/
-
+
def self.extend?(agent)
agent.app =~ PATTERN
end
-
+
def type
:ApiClient
end
-
+
def name
@name ||= :"All.mite"
end
-
+
def version
@version ||= app =~ PATTERN && $1
end
end
\ No newline at end of file