module

Marten::Handlers::RecordRetrieving

Provides the ability to retrieve a specific model record.

Instance methods

model

Returns the model used to retrieve the record.

Source
queryset

Returns the queryset used to retrieve the record displayed by the handler.

Source
record

Returns the record that will be exposed by the handler.

Source

Macros

model(model_klass)

Allows to configure the model class that should be used to retrieve the record.

Source
queryset(queryset)

Allows to configure the query set that should be used to retrieve the record.

This macro should only be used in situations where the model macro is not used.

Source

Nested types