lib/aua-mite/agents/anytime.rb in aua-mite-0.0.5 vs lib/aua-mite/agents/anytime.rb in aua-mite-0.0.6
- old
+ new
@@ -1,30 +1,30 @@
module Aua::Agents::Anytime
-
+
def self.extend?(agent)
agent.app == "Anytime"
end
-
+
def type
:ApiClient
end
-
+
def name
:Anytime
end
-
+
def version
products[1]
end
-
+
def platform
@platform ||= app_comments.first =~ /^iPod/ ? :iPod : :iPhone
end
-
+
def os_version
@os_version ||= $1 if comments[1] && (comments[1][1] || "") =~ /iPhone OS ([\d\.]+)/
end
-
+
def os_name
:iOS
end
end
\ No newline at end of file