Summary
Functions
Define API method as proxy to Api module, we should have 2 types of possible usage for API methods.
Functions
Define API method as proxy to Api module, we should have 2 types of possible usage for API methods.
single request like
Api.get_object(...)batch request:
response = batch(params, fn(api) ->
api = api |> Api.get_object(...) api = api |> Api.get_connections(...) apiend)
Response will contain 2 responses on using get_object, get_connections.