travis-api/lib/travis/api/v2/http/ssl_key.rb

23 lines
330 B
Ruby

module Travis
module Api
module V2
module Http
class SslKey
attr_reader :key
def initialize(key, options = {})
@key = key
end
def data
{
'key' => key.public_key
}
end
end
end
end
end
end