Method: OldApiResource::Base#==

Defined in:
lib/old_api_resource/base.rb

#==(other) ⇒ Object



357
358
359
# File 'lib/old_api_resource/base.rb', line 357

def ==(other)
  other.equal?(self) || (other.instance_of?(self.class) && other.id == self.id && other.prefix_options == self.prefix_options)
end