Skip to content

Commit

Permalink
Closes #85
Browse files Browse the repository at this point in the history
  • Loading branch information
jokade committed Mar 30, 2016
1 parent 0e1ca70 commit 677e9a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/scala/biz/enef/angulate/core/Http.scala
Expand Up @@ -128,6 +128,10 @@ object HttpPromise {
*/
def future: Future[T] = macro impl.HttpPromiseMacros.future
}

object RichHttpPromise {
implicit def autoUnwrap[T](r: RichHttpPromise[T]): HttpPromise[T] = r.self
}
}

class HttpError(msg: String, val status: Int) extends RuntimeException(msg)
Expand Down

0 comments on commit 677e9a2

Please sign in to comment.