Class: CurrentConnection
- Inherits:
-
IRB::HelperMethod::Base
- Object
- IRB::HelperMethod::Base
- CurrentConnection
- Defined in:
- lib/alet/irb/helper_methods.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/alet/irb/helper_methods.rb', line 6 def execute info = Alet.config.connection table = TTY::Table.new(rows: [ [:id, info.id], [:alias, info.alias], [:user_name, info.user_name], [:status, info.status], [:instance_url, info.instance_url], [:api_version, info.api_version], [:access_token, info.access_token] ]) puts table.render :unicode end |