class Satellite::TrackerInterface
Public Class Methods
new(adapter)
click to toggle source
# File lib/satellite.rb, line 17 def initialize(adapter) @adapter = adapter end
Public Instance Methods
[](key)
click to toggle source
# File lib/satellite.rb, line 49 def [](key) @adapter[key] end
[]=(key, value)
click to toggle source
# File lib/satellite.rb, line 45 def []=(key, value) @adapter[key] = value end
set_custom_variable(slot, name, value, scope=nil)
click to toggle source
# File lib/satellite.rb, line 29 def set_custom_variable(slot, name, value, scope=nil) @adapter.set_custom_variable(slot, name, value, scope) end
track_event(category, action, label=nil, value=nil)
click to toggle source
# File lib/satellite.rb, line 25 def track_event(category, action, label=nil, value=nil) @adapter.track_event(category, action, label, value) end
track_page_view(path=nil)
click to toggle source
# File lib/satellite.rb, line 21 def track_page_view(path=nil) @adapter.track_page_view(path) end
tracking_url()
click to toggle source
# File lib/satellite.rb, line 37 def tracking_url @adapter.tracking_url end
type()
click to toggle source
# File lib/satellite.rb, line 41 def type @adapter.class end
unset_custom_variable(slot)
click to toggle source
# File lib/satellite.rb, line 33 def unset_custom_variable(slot) @adapter.unset_custom_variable(slot) end