Class: Fictium::ApiBlueprintExporter::HeaderFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/fictium/exporters/api_blueprint_exporter/header_formatter.rb

Instance Method Summary collapse

Instance Method Details

#format(_document) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/fictium/exporters/api_blueprint_exporter/header_formatter.rb', line 6

def format(_document)
  <<~HEREDOC
    Format: 1A
    Host: #{host}

    # #{title}

    #{description}
  HEREDOC
end