NAME

Articulate::Service::Simple - provide create, read, update, delete

METHODS

handle_create

create => {
  meta     => {}
  content  => '...',
  location => '...'
}

Creates new content. Throws an error if the content already exists or if the user has no write permission on that location.

handle_read

read => {
  location => '...'
}

Retrieves the content at that location. Throws an error if the content does not exist or if the user has no read permission on that location.

handle_update

update => {
  meta     => {}
  content  => '...',
  location => '...'
}

Updates the content at that location. Throws an error if the content does not exist or if the user has no write permission on that location.

handle_delete

delete => {
  location => '...'
}

Deletes the content at that location. Throws an error if the content does not exist or if the user has no write permission on that location.