Class: AdwordsApi::Errors::InvalidUserAgentError
- Inherits:
-
AdsCommon::Errors::Error
- Object
- AdsCommon::Errors::Error
- AdwordsApi::Errors::InvalidUserAgentError
- Defined in:
- lib/adwords_api/errors.rb
Overview
Error for using an invalid user agent string.
Instance Attribute Summary collapse
-
#user_agent ⇒ Object
readonly
Returns the value of attribute user_agent.
Instance Method Summary collapse
-
#initialize(message, user_agent) ⇒ InvalidUserAgentError
constructor
A new instance of InvalidUserAgentError.
Constructor Details
#initialize(message, user_agent) ⇒ InvalidUserAgentError
Returns a new instance of InvalidUserAgentError.
104 105 106 107 |
# File 'lib/adwords_api/errors.rb', line 104 def initialize(, user_agent) super() @user_agent = user_agent end |
Instance Attribute Details
#user_agent ⇒ Object (readonly)
Returns the value of attribute user_agent.
102 103 104 |
# File 'lib/adwords_api/errors.rb', line 102 def user_agent @user_agent end |