Method: Fdoc::ResponseCodePresenter#to_html

Defined in:
lib/fdoc/presenters/response_code_presenter.rb

#to_htmlObject



10
11
12
13
14
15
16
17
18
19
# File 'lib/fdoc/presenters/response_code_presenter.rb', line 10

def to_html
  <<-EOS
    <div class="response-code">
      <span class="status">
        #{status}
      </span>
      #{description}
    </div>
  EOS
end