class StatusPageRuby::Services::BuildLogTable

Constants

HEADINGS

Public Instance Methods

call(records) click to toggle source
# File lib/status_page_ruby/services/build_log_table.rb, line 6
def call(records)
  Terminal::Table.new(
    headings: HEADINGS,
    rows: records.map(&:history_record)
  ).to_s
end