module Bundler::Plugin::API::Source

def hash

should have same hash.
docstring for `==` method, i.e. two methods equal by above comparison
When overriding `hash` please preserve the behaviour as mentioned in
def hash
  [self.class, uri].hash
end