View Source Bonfire.Poll.Questions (Bonfire v0.9.11-social-beta.6)

Summary

Functions

changeset(question \\ %Bonfire.Poll.Question{}, attrs)

create(options \\ [])

create_simple(question)

list_by(by_user, opts \\ [])

List posts created by the user and which are in their outbox, which are not replies

list_paginated(filters, opts \\ [])

List posts with pagination

query(filters \\ [], opts \\ nil)

query_paginated(filters, opts \\ [])

Query posts with pagination

read(post_id, opts_or_socket_or_current_user \\ [])

run_epic(type, options, module \\ __MODULE__, on \\ :question)