Class: UserAgent

Inherits:
Object
  • Object
show all
Defined in:
lib/esearchy/useragent.rb

Class Method Summary collapse

Class Method Details

.fetchObject



185
186
187
# File 'lib/esearchy/useragent.rb', line 185

def self.fetch
  @USER_AGENTS[rand(@USER_AGENTS.size)]
end