Class: Bolt::Analytics::NoopClient

Inherits:
Object
  • Object
show all
Defined in:
lib/bolt/analytics.rb

Instance Method Summary collapse

Constructor Details

#initializeNoopClient

Returns a new instance of NoopClient.



157
158
159
# File 'lib/bolt/analytics.rb', line 157

def initialize
  @logger = Logging.logger[self]
end

Instance Method Details

#event(category, action, _label = nil, _value = nil) ⇒ Object



165
166
167
# File 'lib/bolt/analytics.rb', line 165

def event(category, action, _label = nil, _value = nil)
  @logger.debug "Skipping submission of '#{category} #{action}' event because analytics is disabled"
end

#finishObject



169
# File 'lib/bolt/analytics.rb', line 169

def finish; end

#screen_view(screen, **_kwargs) ⇒ Object



161
162
163
# File 'lib/bolt/analytics.rb', line 161

def screen_view(screen, **_kwargs)
  @logger.debug "Skipping submission of '#{screen}' screenview because analytics is disabled"
end