Method: MuxRuby::SimulcastTarget#==

Defined in:
lib/mux_ruby/models/simulcast_target.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



172
173
174
175
176
177
178
179
180
181
# File 'lib/mux_ruby/models/simulcast_target.rb', line 172

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      passthrough == o.passthrough &&
      status == o.status &&
      stream_key == o.stream_key &&
      url == o.url &&
      error_severity == o.error_severity
end