module Show

Public Instance Methods

credentials(service = nil) click to toggle source

Show the credentials for a particular service

# File lib/skills/show.rb, line 20
def credentials(service = nil)
  credentials = brain.credentials
  credentials = credentials[service.to_sym] if service
  puts credentials.to_yaml
end
setting(name) click to toggle source

Show a given goat setting

# File lib/skills/show.rb, line 13
def setting(name)
  puts brain.settings[name.to_sym].to_yaml
end
settings() click to toggle source

Show all goat settings

# File lib/skills/show.rb, line 6
def settings
  puts brain.settings.to_yaml
end