Class: Webtrends::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



16
17
18
19
20
21
22
23
24
# File 'lib/webtrends/configuration.rb', line 16

def initialize
  self.verbose = false
  self.format = 'xml'
  self.protocol = 'https'
  self.domain = 'dc.webtrends.com'
  self.version = 'v1'
  self.event_service = 'events.svc'
  self.visitor_service = 'ids.svc'
end

Instance Attribute Details

#customer_idObject

Returns the value of attribute customer_id.



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

def customer_id
  @customer_id
end

#domainObject

Returns the value of attribute domain.



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

def domain
  @domain
end

#event_serviceObject

Returns the value of attribute event_service.



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

def event_service
  @event_service
end

#formatObject

Returns the value of attribute format.



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

def format
  @format
end

#protocolObject

Returns the value of attribute protocol.



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

def protocol
  @protocol
end

#verboseObject

Returns the value of attribute verbose.



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

def verbose
  @verbose
end

#versionObject

Returns the value of attribute version.



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

def version
  @version
end

#visitor_serviceObject

Returns the value of attribute visitor_service.



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

def visitor_service
  @visitor_service
end