Module: CustomerxTracking

Defined in:
lib/customerx_tracking.rb,
lib/customerx_tracking/base.rb,
lib/customerx_tracking/tracker.rb,
lib/customerx_tracking/version.rb,
lib/customerx_tracking/requestor.rb

Defined Under Namespace

Classes: Base, Requestor, Tracker

Constant Summary collapse

VERSION =
'2.3.0'

Class Method Summary collapse

Class Method Details

.base_urlObject



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

def self.base_url
  @base_url
end

.base_url=(base_url) ⇒ Object



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

def self.base_url=(base_url)
  @base_url = base_url
end

.config {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



4
5
6
# File 'lib/customerx_tracking.rb', line 4

def self.config
  yield self
end

.credentialObject



16
17
18
# File 'lib/customerx_tracking.rb', line 16

def self.credential
  @credential
end

.credential=(credential) ⇒ Object



20
21
22
# File 'lib/customerx_tracking.rb', line 20

def self.credential=(credential)
  @credential = credential
end

.keyObject



24
25
26
# File 'lib/customerx_tracking.rb', line 24

def self.key
  @key
end

.key=(key) ⇒ Object



28
29
30
# File 'lib/customerx_tracking.rb', line 28

def self.key=(key)
  @key = key
end