You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: story_repository.rb
    path of file: ./repos/stringer/app/repositories
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class StoryRepository
  extend UrlHelpers

  def self.add(entry, feed)
    enclosure_url = entry.enclosure_url if entry.respond_to?(:enclosure_url)
    Story.create(
      feed:,
      title: extract_title(entry),
      permalink: extract_url(entry, feed),
      
    
  def self.add(entry, feed)
    enclosure_url = entry.enclosure_url if entry.respond_to?(:enclosure_url)
    Story.create(
      feed:,
      title: extract_title(entry),
      permalink: extract_url(entry, feed),
      enclosure_url:,
      body: extract_content(entry),
      is_read: false,
      is_starred: false,
      published: entry.published || Time.now,
      entry_id: entry.id
    )
  end