Method: Fastly::RelationshipMemberWafRuleRevision#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



89
90
91
92
93
94
# File 'lib/fastly/models/relationship_member_waf_rule_revision.rb', line 89

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