Class: Evva::AnalyticsProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/evva/analytics_property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#destinationsObject (readonly)

Returns the value of attribute destinations.



3
4
5
# File 'lib/evva/analytics_property.rb', line 3

def destinations
  @destinations
end

#property_nameObject (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

#typeObject (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