Class: GoogleAnalytics::Events::Require

Inherits:
GoogleAnalytics::Event show all
Defined in:
lib/google-analytics/events/events.rb

Instance Attribute Summary

Attributes inherited from GoogleAnalytics::Event

#action, #name, #params

Instance Method Summary collapse

Methods inherited from GoogleAnalytics::Event

#single_event?

Constructor Details

#initialize(name, url = nil) ⇒ Require

Returns a new instance of Require.



52
53
54
55
56
57
58
# File 'lib/google-analytics/events/events.rb', line 52

def initialize(name, url=nil)
  if url
    super('require', name, url)
  else
    super('require', name)
  end
end