module Marten::Handlers::RecordRetrieving
Overview
Provides the ability to retrieve a specific model record.
Direct including types
Defined in:
marten/handlers/concerns/record_retrieving.crInstance Method Summary
-
#model
Returns the model used to retrieve the record.
-
#queryset
Returns the queryset used to retrieve the record displayed by the handler.
-
#record
Returns the record that will be exposed by the handler.
Macro Summary
-
model(model_klass)
Allows to configure the model class that should be used to retrieve the record.
Instance Method Detail
Macro Detail
macro model(model_klass)
#
Allows to configure the model class that should be used to retrieve the record.