Method: Fastly::RelationshipCommonName#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



78
79
80
81
82
# File 'lib/fastly/models/relationship_common_name.rb', line 78

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