class Travis::CLI::Pubkey
def key
def key key = repository.public_key case self.key_format ||= :ssh when :fingerprint then key.fingerprint when :pem then key.to_s when :ssh then key.to_ssh else raise "unknown format #{key_format}" end end
def key key = repository.public_key case self.key_format ||= :ssh when :fingerprint then key.fingerprint when :pem then key.to_s when :ssh then key.to_ssh else raise "unknown format #{key_format}" end end