Class: Bolt::Analytics::NoopClient
- Inherits:
-
Object
- Object
- Bolt::Analytics::NoopClient
- Defined in:
- lib/bolt/analytics.rb
Instance Method Summary collapse
- #event(category, action, _label = nil, _value = nil) ⇒ Object
- #finish ⇒ Object
-
#initialize ⇒ NoopClient
constructor
A new instance of NoopClient.
- #screen_view(screen, **_kwargs) ⇒ Object
Constructor Details
#initialize ⇒ NoopClient
Returns a new instance of NoopClient.
156 157 158 |
# File 'lib/bolt/analytics.rb', line 156 def initialize @logger = Logging.logger[self] end |
Instance Method Details
#event(category, action, _label = nil, _value = nil) ⇒ Object
164 165 166 |
# File 'lib/bolt/analytics.rb', line 164 def event(category, action, _label = nil, _value = nil) @logger.debug "Skipping submission of '#{category} #{action}' event because analytics is disabled" end |
#finish ⇒ Object
168 |
# File 'lib/bolt/analytics.rb', line 168 def finish; end |
#screen_view(screen, **_kwargs) ⇒ Object
160 161 162 |
# File 'lib/bolt/analytics.rb', line 160 def screen_view(screen, **_kwargs) @logger.debug "Skipping submission of '#{screen}' screenview because analytics is disabled" end |