Class: Match::TablePrinter

Inherits:
Object
  • Object
show all
Defined in:
lib/match/table_printer.rb

Class Method Summary collapse

Class Method Details



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/match/table_printer.rb', line 3

def self.print_summary(params, uuid)
  rows = []

  rows << ["App Identifier", params[:app_identifier]]
  rows << ["Type", params[:type]]
  rows << ["UUID", uuid]
  rows << ["Environment Variable", Utils.environment_variable_name(params)]

  params = {}
  params[:rows] = rows
  params[:title] = "Installed Provisioning Profile".green

  puts ""
  puts Terminal::Table.new(params)
  puts ""
end