cat_2.8.2.0.1.0.source-code.hosts.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hubcat_2.8.2 Show documentation
Show all versions of hubcat_2.8.2 Show documentation
a vvip client of the github enterprises
The newest version!
package hubcat
import dispatch._
import com.ning.http.client.RequestBuilder
trait Hosts {
def apiHost: RequestBuilder
}
trait DefaultHosts extends Hosts {
import Types.GithubJson
def apiHost = :/("api.github.com").secure <:< Map("Content-Type" -> GithubJson)
}