Packages

abstract class CrudService[F[_], Model, Create, Update] extends Service[F]

Source
CrudService.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CrudService
  2. Service
  3. AnyRef
  4. Any
Implicitly
  1. by StringFormat
  2. by Ensuring
  3. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CrudService(baseUri: Uri, name: String, authToken: Header, wrapped: Boolean = true)(implicit arg0: Sync[F], arg1: Client[F], arg2: Decoder[Model], arg3: Encoder[Create], arg4: Encoder[Update])

Value Members

  1. def create(value: Create, extraHeaders: Header*): F[WithId[Model]]
  2. def delete(id: String, extraHeaders: Header*): F[Unit]
  3. def delete(value: WithId[Model], extraHeaders: Header*): F[Unit]
  4. def get(id: String, extraHeaders: Header*): F[WithId[Model]]
  5. def list(query: Query, extraHeaders: Header*): Stream[F, WithId[Model]]
  6. def list(extraHeaders: Header*): Stream[F, WithId[Model]]
  7. val name: String
  8. val pluralName: String
  9. def update(id: String, value: Update, extraHeaders: Header*): F[WithId[Model]]
  10. val uri: Uri