Class: Evva::AnalyticsProperty
- Inherits:
-
Object
- Object
- Evva::AnalyticsProperty
- Defined in:
- lib/evva/analytics_property.rb
Instance Attribute Summary collapse
-
#destinations ⇒ Object
readonly
Returns the value of attribute destinations.
-
#property_name ⇒ Object
readonly
Returns the value of attribute property_name.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(property_name, type, destinations) ⇒ AnalyticsProperty
constructor
A new instance of AnalyticsProperty.
Constructor Details
#initialize(property_name, type, destinations) ⇒ AnalyticsProperty
Returns a new instance of AnalyticsProperty.
5 6 7 8 9 |
# File 'lib/evva/analytics_property.rb', line 5 def initialize(property_name, type, destinations) @property_name = property_name @type = type @destinations = destinations end |
Instance Attribute Details
#destinations ⇒ Object (readonly)
Returns the value of attribute destinations.
3 4 5 |
# File 'lib/evva/analytics_property.rb', line 3 def destinations @destinations end |
#property_name ⇒ Object (readonly)
Returns the value of attribute property_name.
3 4 5 |
# File 'lib/evva/analytics_property.rb', line 3 def property_name @property_name end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
3 4 5 |
# File 'lib/evva/analytics_property.rb', line 3 def type @type end |
Instance Method Details
#==(other) ⇒ Object
11 12 13 14 15 |
# File 'lib/evva/analytics_property.rb', line 11 def ==(other) property_name == other.property_name && type == other.type && destinations == other.destinations end |