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