public class CallAnApi
extends java.lang.Object
implements net.serenitybdd.screenplay.Ability
| Modifier and Type | Method and Description |
|---|---|
static CallAnApi |
as(net.serenitybdd.screenplay.Actor actor)
Used to access the Actor's ability to CallAnApi from within the Interaction classes, such as GET or PUT
|
static CallAnApi |
at(java.lang.String baseURL)
Ability to Call and api at a specified baseUrl
|
io.restassured.response.Response |
getLastResponse() |
java.lang.String |
resolve(java.lang.String resource) |
java.lang.String |
toString() |
public static CallAnApi at(java.lang.String baseURL)
public static CallAnApi as(net.serenitybdd.screenplay.Actor actor)
public java.lang.String resolve(java.lang.String resource)
public io.restassured.response.Response getLastResponse()
public java.lang.String toString()
toString in class java.lang.Object