Sha256: 6e94b74e1af3791df604168dc0a9583d13d294c013a03f98d726b80fc3ddd485

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 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

1 entries across 1 versions & 1 rubygems

Version Path
aua-mite-0.0.6 lib/aua-mite/agents/anytime.rb