Method: Camdram::Client#user_agent

Defined in:
lib/camdram/client.rb

#user_agentString

Returns the user agent header sent in each HTTP request

Returns:

  • (String)

    The user agent header to send with HTTP requests.



62
63
64
# File 'lib/camdram/client.rb', line 62

def user_agent
  HTTP.instance.user_agent
end