Module: Aua::Agents::OtherBrowsers

Defined in:
lib/aua/agents/other_browsers.rb

Constant Summary collapse

KNOWN_CLIENTS =
%w(Raven)

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extend?(agent) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/aua/agents/other_browsers.rb', line 4

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

Instance Method Details

#nameObject



12
13
14
# File 'lib/aua/agents/other_browsers.rb', line 12

def name
  products[0].to_sym
end

#typeObject



8
9
10
# File 'lib/aua/agents/other_browsers.rb', line 8

def type
  :Browser
end