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: presenter.rb
    path of file: ./repos/chaskiq/app/services/message_apis/article_search
    
    the code of the file until where you have to start completion: module MessageApis::ArticleSearch
  class Presenter
    include ActionView::Helpers::AssetUrlHelper

    def self.search_definitions
      [
        {
          type: "text",
          text: "Help Center",
          style: "header"
        },
        {
          name: "a",
          label: "a separator",
          action: {},
          type: "separator"
        },
        {
          type: "input",
          id: "unsaved-2",
          name: "search_articles",
          label: "Find Answers Quickly",
          placeholder: "Search for an article...",
          save_state: "unsaved",
          action: {
            type: "submit"
          }
        },
        {
          type: "spacer",
          size: "m"
        }
      ]
    end

    # Initialize flow webhook URL
    # Sent whe
    
    def self.sheet_view(params)
      @user = params[:user]

      @article = App.find_by(
        key: params[:app_key]
      ).articles.friendly.find(params.dig(:field, :id))

      @name = @user[:name]
      @email = @user[:email]

      @json_article = @article.as_json(
        methods: [:serialized_content],
        include: %i[author collection]
      )

      template = ERB.new <<~SHEET_VIEW
        <html lang="en">
        	<head>
        		<meta charset="UTF-8">
        		<meta name="viewport" content="width=device-width, initial-scale=1.0">
        		<meta http-equiv="X-UA-Compatible" content="ie=edge">
        		<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;600;700;800;900&display=swap" rel="stylesheet">
        		<title>[Chaskiq Article]</title>
        		<style>
        			body {
        				font-family: 'Inter', sans-serif;
        			}
        		</style>
        		<script>
              window.article_meta = "<%= I18n.t('messenger.article_meta', name: @article.author.name, date: I18n.l(@article.updated_at,:format => :short) ) %>"
        			window.articleJson=<%= @json_article.to_json %>
        			window.domain="<%= Rails.application.config.action_controller.asset_host %>";
        		</script>
        		<script src="<%= "#{ActionController::Base.helpers.compute_asset_path('article.js')}" %>"></script>
        	</head>
        	<body>
        		<div class="container">
        			<div id="main-page">
        			</div>
        		</div>
        	</body>
        </html>
      SHEET_VIEW

      template.result(binding)
    end