Module: Octonaut::Printers::Authorizations
- Included in:
- Octonaut::Printer
- Defined in:
- lib/octonaut/printers/authorizations.rb
Instance Method Summary collapse
- #ls_authorizations(authorizations, options = {}) ⇒ Object (also: #ls_tokens)
Instance Method Details
#ls_authorizations(authorizations, options = {}) ⇒ Object Also known as: ls_tokens
5 6 7 |
# File 'lib/octonaut/printers/authorizations.rb', line 5 def (, = {}) .each {|a| puts "#{a.token} #{a.scopes.join(',')} #{a.app.name}" } end |