OA Templater

  • Build Status
  • Gem Version

Pulls out relevant data from an Office Action from the Japanese Patent Office.

  oa = Oat::OA.new(tempfile, casenumber)

    Oat.configure do |c|
    c.reasonsfile = File.join(Rails.root, "config", "templates", "reasons.yml")

  #keeping this out of github in case it violates a non-spoken NDA
    c.templates =  {
  kyozetsuriyu: File.join(Rails.root, "config", "templates", "kyozetsuriyu.docx"),
                shinpankyozetsuriyu: File.join(Rails.root, "config", "templates", "shinpankzry.docx"),
                kyozetsusatei: File.join(Rails.root, "config", "templates", "kyozetsusatei.docx"),
                shireisho: File.join(Rails.root, "config", "templates", "shireisho.docx"),
                rejectamendments: File.join(Rails.root, "config", "templates", "rejectamendments.docx"),
                shinnen: File.join(Rails.root, "config", "templates", "shinnen.docx")
    }
  end

  oa.scan

  oa.finish