Method: OryClient::UiText#==

Defined in:
lib/ory-client/models/ui_text.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



164
165
166
167
168
169
170
171
# File 'lib/ory-client/models/ui_text.rb', line 164

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      context == o.context &&
      id == o.id &&
      text == o.text &&
      type == o.type
end