mangopay v0.1.0 MangoPay.Reporting
Functions for MangoPay reporting.
Link to this section Summary
Functions
List all reportings
List all reportings
Get a reporting
Get a reporting
Get path called
Get path called
Link to this section Functions
Link to this function
all(query \\ %{})
List all reportings.
Examples
query = %{
"Page": 1,
"Per_Page": 25,
"Sort": "CreationDate:DESC",
"BeforeDate": 1463440221,
"AfterDate": 1431817821
}
{:ok, reportings} = MangoPay.Reportings.all(query)
Link to this function
all!(query \\ %{})
List all reportings.
Examples
query = %{
"Page": 1,
"Per_Page": 25,
"Sort": "CreationDate:DESC",
"BeforeDate": 1463440221,
"AfterDate": 1431817821
}
reportings = MangoPay.Reportings.all!(query)
Link to this function
get(id)
Get a reporting.
Examples
{:ok, reporting} = MangoPay.Reporting.get(id)
Link to this function
get!(id)
Get a reporting.
Examples
reporting = MangoPay.Reporting.get!(id)
Link to this function
path()
Get path called.
Examples
"/users" = MangoPay.User.path()
Link to this function
path(id)
Get path called.
Examples
"/users/id" = MangoPay.User.path(id)