Sha256: 308a160ac45012d499e7807f560d13805da18f03fd21da91e16a86d599b08e80

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aua-mite-0.0.5 lib/aua-mite/agents/anytime.rb
aua-mite-0.0.4 lib/aua-mite/agents/anytime.rb
aua-mite-0.0.3 lib/aua-mite/agents/anytime.rb