Class: Webtrends::Service
- Inherits:
-
Object
- Object
- Webtrends::Service
- Defined in:
- lib/webtrends/service.rb
Instance Attribute Summary collapse
-
#customer_id ⇒ Object
Returns the value of attribute customer_id.
-
#domain ⇒ Object
Returns the value of attribute domain.
-
#format ⇒ Object
Returns the value of attribute format.
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#service ⇒ Object
Returns the value of attribute service.
-
#verbose ⇒ Object
Returns the value of attribute verbose.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Service
constructor
A new instance of Service.
Constructor Details
#initialize(args = {}) ⇒ Service
Returns a new instance of Service.
6 7 8 9 10 11 12 13 |
# File 'lib/webtrends/service.rb', line 6 def initialize(args = {}) self.verbose = args.fetch(:verbose, Webtrends.configuration.verbose) self.format = args.fetch(:format, Webtrends.configuration.format) self.protocol = args.fetch(:protocol, Webtrends.configuration.protocol) self.domain = args.fetch(:protocol, Webtrends.configuration.domain) self.version = args.fetch(:version, Webtrends.configuration.version) self.customer_id = args.fetch(:customer_id, Webtrends.configuration.customer_id) end |
Instance Attribute Details
#customer_id ⇒ Object
Returns the value of attribute customer_id.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def customer_id @customer_id end |
#domain ⇒ Object
Returns the value of attribute domain.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def domain @domain end |
#format ⇒ Object
Returns the value of attribute format.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def format @format end |
#protocol ⇒ Object
Returns the value of attribute protocol.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def protocol @protocol end |
#service ⇒ Object
Returns the value of attribute service.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def service @service end |
#verbose ⇒ Object
Returns the value of attribute verbose.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def verbose @verbose end |
#version ⇒ Object
Returns the value of attribute version.
4 5 6 |
# File 'lib/webtrends/service.rb', line 4 def version @version end |