Class: MixpanelExport::Events

Inherits:
Base
  • Object
show all
Defined in:
lib/mixpanel_export/events.rb

Instance Attribute Summary

Attributes inherited from Base

#request

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from MixpanelExport::Base

Instance Method Details

#all(options = {}) ⇒ Object



3
4
5
6
# File 'lib/mixpanel_export/events.rb', line 3

def all(options={})
  options[:unit] = options[:unit] || "month"
  request.get('/events', options)
end

#names(options = {}) ⇒ Object



12
13
14
# File 'lib/mixpanel_export/events.rb', line 12

def names(options={})
  request.get('/names', options)
end

#top(options = {}) ⇒ Object



8
9
10
# File 'lib/mixpanel_export/events.rb', line 8

def top(options={})
  request.get('/top', options)
end