Scrivener.Config (scrivener v2.7.2)

A Scrivener.Config can be created with a caller, a page_number, a page_size and a module. It can optionally be provided a Keyword of options.

%Scrivener.Config{
  caller: self(),
  page_number: 2,
  page_size: 5,
  module: MyApp.Repo,
  options: [
    foo: "bar"
  ]
}

Link to this section Summary

Link to this section Types

Specs

t() :: %Scrivener.Config{
  caller: term(),
  module: term(),
  options: term(),
  page_number: term(),
  page_size: term()
}

Link to this section Functions

Link to this function

page_size(defaults, opts)