Method: PureCloud::UserStations#==

Defined in:
lib/purecloud/models/user_stations.rb

#==(o) ⇒ Object

Check equality by comparing each attribute.



85
86
87
88
89
90
91
92
# File 'lib/purecloud/models/user_stations.rb', line 85

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      associated_station == o.associated_station &&
      effective_station == o.effective_station &&
      default_station == o.default_station &&
      last_associated_station == o.last_associated_station
end