Class: KRL_CMD::Apps

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

Class Method Summary collapse

Class Method Details

.goObject



3
4
5
6
7
8
9
10
# File 'lib/apps.rb', line 3

def self.go
  user = User.new
  KRL_COMMON::pretty_table(user.applications["apps"], [
    {:field => "Ruleset ID", :value => lambda { |r| r["appid"] }},
    {:field => "Name", :value => lambda { |r| r["name"].to_s }},
    {:field => "Role", :value => lambda { |r| r["role"] }}        
  ])
end