Class: GoogleAnalytics::Events::SetSiteSpeedSampleRate

Inherits:
Object
  • Object
show all
Defined in:
lib/google-analytics/events/events.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sample_rate) ⇒ SetSiteSpeedSampleRate



65
66
67
68
# File 'lib/google-analytics/events/events.rb', line 65

def initialize(sample_rate)
  @sample_rate = sample_rate
  warn "[REMOVED] `SetSiteSpeedSampleRate` is being removed. Universal Analytics does not support this any longer. Please see GoogleAnalytics::Events::SetupAnalytics"
end

Instance Attribute Details

#sample_rateObject



64
65
66
# File 'lib/google-analytics/events/events.rb', line 64

def sample_rate
  @sample_rate
end