Class: UTM::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/utm/configuration.rb

Overview

Configuration Class

Class used for configuration. Use a block with

UTM.configure do |config|
  config.utm_source = "twitter"
end

Instance Attribute Summary collapse

Instance Attribute Details

#utm_campaignObject

Returns the value of attribute utm_campaign.



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

def utm_campaign
  @utm_campaign
end

#utm_contentObject

Returns the value of attribute utm_content.



15
16
17
# File 'lib/utm/configuration.rb', line 15

def utm_content
  @utm_content
end

#utm_mediumObject

Returns the value of attribute utm_medium.



14
15
16
# File 'lib/utm/configuration.rb', line 14

def utm_medium
  @utm_medium
end

#utm_sourceObject

Returns the value of attribute utm_source.



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

def utm_source
  @utm_source
end

#utm_termObject

Returns the value of attribute utm_term.



13
14
15
# File 'lib/utm/configuration.rb', line 13

def utm_term
  @utm_term
end