Method: Fastly::ServiceInvitationData#==

Defined in:
lib/fastly/models/service_invitation_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



96
97
98
99
100
101
102
# File 'lib/fastly/models/service_invitation_data.rb', line 96

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      type == o.type &&
      attributes == o.attributes &&
      relationships == o.relationships
end