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

me.jeffshaw.digitalocean.FloatingIpCreation.scala Maven / Gradle / Ivy

package me.jeffshaw.digitalocean

import scala.concurrent.{ExecutionContext, Future}

case class FloatingIpCreation(
  floatingIp: FloatingIp,
  action: Action
) {
  def complete()(implicit client: DigitalOceanClient, ec: ExecutionContext): Future[Action] =
    action.complete()
}

object FloatingIpCreation {
  implicit def asFloatingIp(ip: FloatingIpCreation): FloatingIp =
    ip.floatingIp
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy