module Marten::Handlers::RecordRetrieving


Provides the ability to retrieve a specific model record.

Direct including types

Defined in:


Macro Summary

Instance Method Summary

Macro Detail

macro model(model_klass) #

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

[View source]

Instance Method Detail

def model #

Returns the model used to retrieve the record.

[View source]
def queryset #

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

[View source]
def record #

Returns the record that will be exposed by the handler.

[View source]