Class: GAQ::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/google_analytics_tools/tracking/events/event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, *params) ⇒ Event

Returns a new instance of Event.


7
8
9
10
# File 'lib/google_analytics_tools/tracking/events/event.rb', line 7

def initialize(name, *params)
  @name = name
  @params = params
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name


5
6
7
# File 'lib/google_analytics_tools/tracking/events/event.rb', line 5

def name
  @name
end

#paramsObject (readonly)

Returns the value of attribute params


5
6
7
# File 'lib/google_analytics_tools/tracking/events/event.rb', line 5

def params
  @params
end