All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gitbucket.core.api.ApiPusher.scala Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version
package gitbucket.core.api

import gitbucket.core.model.Account

case class ApiPusher(name: String, email: String)

object ApiPusher {
  def apply(user: Account): ApiPusher = ApiPusher(
    name  = user.userName,
    email = user.mailAddress)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy