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: github_status.rb
    path of file: ./repos/janky/lib/janky/notifier
    
    the code of the file until where you have to start completion: module Janky
  module Notifier
    # Create GitHub Status updates for builds.
    #
    # Note that Statuses are im
    
      def completed(build)
        repo   = build.repo_nwo
        path   = "repos/#{repo}/statuses/#{build.sha1}"
        status = build.green? ? "success" : "failure"

        desc = case status
          when "success" then "Build ##{build.number} succeeded in #{build.duration}s"
          when "failure" then "Build ##{build.number} failed in #{build.duration}s"
        end