Exception: Rubaidh::AnalyticsError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rubaidh/view_helpers.rb

Overview

Error raised by tracking methods if Rubaidh::GoogleAnalytics.defer_load is not configured properly to enable tracking.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ AnalyticsError

Returns a new instance of AnalyticsError.



62
63
64
# File 'lib/rubaidh/view_helpers.rb', line 62

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



60
61
62
# File 'lib/rubaidh/view_helpers.rb', line 60

def message
  @message
end