exgrid v1.0.0 ExGrid.Blocks
Manage blocks
Link to this section Summary
Link to this section Functions
Link to this function
count(credentials)
get block count
Link to this function
get(credentials)
get all blocks
Link to this function
get(credentials, sdate)
get blocks with optional parameters
note for
start_dateandend_datethey must be inYYYY-M-Dstring format
Examples:
iex> ExGrid.Blocks.get(credentials, %{start_date: “2014-7-10”, end_date: “2014-7-20”})
iex> ExGrid.Blocks.get(credentials, %{date: “1”})
iex> ExGrid.Blocks.get(credentials, %{date: 1, limit: 1})
Link to this function
remove(credentials, parameters)
Remove a block
- Only parameter accepted is
email
Example
iex> ExGrid.Blocks.remove(credentials, %{email: “foobar@baz.com”})