Module: Octonaut::Printers::Authorizations

Included in:
Octonaut::Printer
Defined in:
lib/octonaut/printers/authorizations.rb

Instance Method Summary collapse

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 ls_authorizations(authorizations, options = {})
  authorizations.each {|a| puts "#{a.token}   #{a.scopes.join(',')}   #{a.app.name}" }
end