```ruby
module Berkshelf::API
  class RemoteCookbook < Struct.new(:name, :version, :location_type, :location_path)
    def hash
      "#{name}|#{version}".hash
    end

    def eql?(other)
      self.hash == other.hash
    end
  end
end
```

Remove a bug fix that shouldn't be on this branch
user
```ruby
module Berkshelf::API
  class RemoteCookbook < Struct.new(:name, :version, :location_type, :location_path)
end
```
assistant