Class: Bolt::Analytics::NoopClient
- Inherits:
-
Object
- Object
- Bolt::Analytics::NoopClient
- Defined in:
- lib/bolt/analytics.rb
Instance Attribute Summary collapse
-
#bundled_content ⇒ Object
Returns the value of attribute bundled_content.
Instance Method Summary collapse
- #event(category, action, **_kwargs) ⇒ Object
- #finish ⇒ Object
-
#initialize ⇒ NoopClient
constructor
A new instance of NoopClient.
- #report_bundled_content(mode, name) ⇒ Object
- #screen_view(screen, **_kwargs) ⇒ Object
Constructor Details
#initialize ⇒ NoopClient
Returns a new instance of NoopClient.
215 216 217 218 |
# File 'lib/bolt/analytics.rb', line 215 def initialize @logger = Bolt::Logger.logger(self) @bundled_content = [] end |
Instance Attribute Details
#bundled_content ⇒ Object
Returns the value of attribute bundled_content.
213 214 215 |
# File 'lib/bolt/analytics.rb', line 213 def bundled_content @bundled_content end |
Instance Method Details
#event(category, action, **_kwargs) ⇒ Object
226 227 228 |
# File 'lib/bolt/analytics.rb', line 226 def event(category, action, **_kwargs) @logger.trace "Skipping submission of '#{category} #{action}' event because analytics is disabled" end |
#finish ⇒ Object
230 |
# File 'lib/bolt/analytics.rb', line 230 def finish; end |
#report_bundled_content(mode, name) ⇒ Object
224 |
# File 'lib/bolt/analytics.rb', line 224 def report_bundled_content(mode, name); end |
#screen_view(screen, **_kwargs) ⇒ Object
220 221 222 |
# File 'lib/bolt/analytics.rb', line 220 def screen_view(screen, **_kwargs) @logger.trace "Skipping submission of '#{screen}' screenview because analytics is disabled" end |