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.
- #screen_view(screen, **_kwargs) ⇒ Object
Constructor Details
#initialize ⇒ NoopClient
Returns a new instance of NoopClient.
171 172 173 174 |
# File 'lib/bolt/analytics.rb', line 171 def initialize @logger = Logging.logger[self] @bundled_content = [] end |
Instance Attribute Details
#bundled_content ⇒ Object
Returns the value of attribute bundled_content.
169 170 171 |
# File 'lib/bolt/analytics.rb', line 169 def bundled_content @bundled_content end |
Instance Method Details
#event(category, action, **_kwargs) ⇒ Object
180 181 182 |
# File 'lib/bolt/analytics.rb', line 180 def event(category, action, **_kwargs) @logger.debug "Skipping submission of '#{category} #{action}' event because analytics is disabled" end |
#finish ⇒ Object
184 |
# File 'lib/bolt/analytics.rb', line 184 def finish; end |
#screen_view(screen, **_kwargs) ⇒ Object
176 177 178 |
# File 'lib/bolt/analytics.rb', line 176 def screen_view(screen, **_kwargs) @logger.debug "Skipping submission of '#{screen}' screenview because analytics is disabled" end |