class Calculator
  ALL = [{
    title: "Child Benefit tax calculator",
    slug: "child-benefit-tax-calculator",
    paths: [],
    content_id: "0e1de8f1-9909-4e45-a6a3-bffe95470275",
    prefixes: ["/child-benefit-tax-calculator"],
    need_id: "100266",
    state: "live",
    description: "Work out the Child Benefit you've received and your High Income Child Benefit tax charge.",
    indexable_content: [
      "Work out the Child Benefit you've received and your High Income Child Benefit tax charge",
      "Use this tool to work out",
      "how much Child Benefit you receive in a tax year",
      "the High Income Child Benefit tax charge you or your partner may have to pay",
      "You're affected by the tax charge if your income is over £50,000.",
      "Your partner is responsible for paying the tax charge if their income is more than £50,000 and higher than yours.",
      "You'll need the dates Child Benefit started and, if applicable, stopped.",
    ].join(" "),
  }]

  def self.all
    ALL.map { |hash| OpenStruct.new(hash) }
  end
end

class Calculator
  ALL = [{
    title: "Child Benefit tax calculator",
    slug: "child-benefit-tax-calculator",
    content_id: "0e1de8f1-9909-4e45-a6a3-bffe95470275",

    # Sending an empty array for `paths` and `prefixes` will make sure we don't
    # register routes in Panopticon.
    prefixes: [],
    paths: [],

    need_id: "100266",
    state: "live",
    description: "Work out the Child Benefit you've received and your High Income Child Benefit tax charge.",
    indexable_content: [
      "Work out the Child Benefit you've received and your High Income Child Benefit tax charge",
      "Use this tool to work out",
      "how much Child Benefit you receive in a tax year",
      "the High Income Child Benefit tax charge you or your partner may have to pay",
      "You're affected by the tax charge if your income is over £50,000.",
      "Your partner is responsible for paying the tax charge if their income is more than £50,000 and higher than yours.",
      "You'll need the dates Child Benefit started and, if applicable, stopped.",
    ].join(" "),
  }]

  def self.all
    ALL.map { |hash| OpenStruct.new(hash) }
  end
end

Make sure we don't register routes via panopticon
Make sure we don't register routes via panopticon

Sending an empty array for `paths` and `prefixes` will make sure we
don't register routes in Panopticon.

We don't want to register routes anymore because we will be using the
publishing-api for this.
