ExVerticalBooking v0.2.4 ExVerticalBooking.Response View Source

Struct for response given by soap call.

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %ExVerticalBooking.Response{
  body: any(),
  headers: [tuple()],
  request_url: String.t(),
  status_code: pos_integer()
}

Link to this section Functions

Link to this function

cleanup_tag_namspace(tag)

View Source
Link to this function

parse(response, meta)

View Source
parse(ExVerticalBooking.Response.t(), map()) ::
  {:ok, any(), map()} | {:error, map(), map()}

Executing with xml response body as string.

Function parse/1 returns a full parsed response structure as map.

Link to this function

parse(body, status_code, meta)

View Source
parse(String.t(), integer(), map()) ::
  {:ok, any(), map()} | {:error, map(), map()}
Link to this function

reduce_first_level_map(map)

View Source