class Multiwoven::Integrations::Destination::Slack::Client

def slack_code_block(data)

def slack_code_block(data)
  longest_key = data.keys.map(&:to_s).max_by(&:length).length
  table_str = "```\n"
  data.each do |key, value|
    table_str += "#{key.to_s.ljust(longest_key)} : #{value}\n"
  end
  table_str += "```"
  table_str
end