Module: Spidr::Settings::UserAgent

Included in:
Spidr, Agent
Defined in:
lib/spidr/settings/user_agent.rb

Overview

Since:

  • 0.6.0

Instance Attribute Summary collapse

Instance Attribute Details

#user_agentString

The User-Agent string used by all Agent objects by default.

Returns:

  • (String)

    The Spidr User-Agent string.

Since:

  • 0.6.0



13
14
15
# File 'lib/spidr/settings/user_agent.rb', line 13

def user_agent
  @user_agent
end