def response_hash_for(cookbook)
        {
          'cookbook'           => url_for(cookbook),
          'average_rating'     => cookbook.average_rating,
          'version'            => cookbook.version,
          'license'            => cookbook.license,
          'file'               => "http://s3.amazonaws.com/#{cookbook.name}.tgz",
          'tarball_file_size'  => cookbook.name.split('').map(&:ord).inject(&:+) * 25, # don't even
          'created_at'         => cookbook.created_at,
          'updated_at'         => cookbook.upadated_at,
        }
      end
def response_hash_for(cookbook)
        {
          'cookbook'           => url_for(cookbook),
          'average_rating'     => cookbook.average_rating,
          'version'            => cookbook.version,
          'license'            => cookbook.license,
          'file'               => "http://s3.amazonaws.com/#{cookbook.name}.tgz",
          'tarball_file_size'  => cookbook.name.split('').map(&:ord).inject(&:+) * 25, # don't even
          'created_at'         => cookbook.created_at,
          'updated_at'         => cookbook.upadated_at,
        }
      end
The response hash for this cookbook.

 @param [CommunityZero::Cookbook] cookbook
   the cookbook to generate a hash for