Method: KatapultAPI::PostOrganizationSshKeysRequest#==

Defined in:
lib/katapult-ruby/models/post_organization_ssh_keys_request.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



104
105
106
107
108
109
# File 'lib/katapult-ruby/models/post_organization_ssh_keys_request.rb', line 104

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      organization == o.organization &&
      ssh_key == o.ssh_key
end