class AdManagerApi::UtilsReporter
Public Class Methods
Source
# File lib/ad_manager_api/utils_reporter.rb, line 30 def initialize(credential_handler) @credential_handler = credential_handler end
Default constructor.
Args:
-
credential_handler: The
CredentialHandler
being used by the current
AdManagerApi
instance.
Public Instance Methods
Source
# File lib/ad_manager_api/utils_reporter.rb, line 48 def ad_manager_date_time_used() @credential_handler.include_in_user_agent("AdManagerDateTime") end
A callback method for AdManagerDateTime
to indicate that it has been used, and that its usage should be recorded in the next user agent string.
Source
# File lib/ad_manager_api/utils_reporter.rb, line 42 def ad_manager_date_used() @credential_handler.include_in_user_agent("AdManagerDate") end
A callback method for AdManagerDate
to indicate that it has been used, and that its usage should be recorded in the next user agent string.
Source
# File lib/ad_manager_api/utils_reporter.rb, line 36 def statement_builder_used() @credential_handler.include_in_user_agent("StatementBuilder") end
A callback method for StatementBuilder
to indicate that it has been used, and that its usage should be recorded in the next user agent string.