Sha256: b43933d49aa7a14dd019e1fc79eb6fa6fa6bb11769fa89d1dadf4c0a0fa051a1

Contents?: true

Size: 208 Bytes

Versions: 7

Compression:

Stored size: 208 Bytes

Contents

module Aua::Agents::OtherBrowsers
  KNOWN_CLIENTS = %w(Raven)

  def self.extend?(agent)
    KNOWN_CLIENTS.include?(agent.app)
  end

  def type
    :Browser
  end

  def name
    products[0].to_sym
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
aua-0.3.2 lib/aua/agents/other_browsers.rb
aua-0.3.1 lib/aua/agents/other_browsers.rb
aua-0.3.0 lib/aua/agents/other_browsers.rb
aua-0.2.6 lib/aua/agents/other_browsers.rb
aua-0.2.5 lib/aua/agents/other_browsers.rb
aua-0.2.4 lib/aua/agents/other_browsers.rb
aua-0.2.3 lib/aua/agents/other_browsers.rb