Method: PhoneComClient::CreateSmsParams#==

Defined in:
lib/phone_com_client/models/create_sms_params.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



104
105
106
107
108
109
110
111
# File 'lib/phone_com_client/models/create_sms_params.rb', line 104

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      from == o.from &&
      to == o.to &&
      text == o.text &&
      extension_id == o.extension_id
end