Class: Bolt::Analytics::NoopClient

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNoopClient

Returns a new instance of NoopClient.



191
192
193
194
# File 'lib/bolt/analytics.rb', line 191

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

Instance Attribute Details

#bundled_contentObject

Returns the value of attribute bundled_content.



189
190
191
# File 'lib/bolt/analytics.rb', line 189

def bundled_content
  @bundled_content
end

Instance Method Details

#event(category, action, **_kwargs) ⇒ Object



202
203
204
# File 'lib/bolt/analytics.rb', line 202

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

#finishObject



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

def finish; end

#report_bundled_content(mode, name) ⇒ Object



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

def report_bundled_content(mode, name); end

#screen_view(screen, **_kwargs) ⇒ Object



196
197
198
# File 'lib/bolt/analytics.rb', line 196

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