class

FetchCardsToStudy

Inherits ValidateObjectBelongsToUser < Avram::Operation < Avram::Callbacks < Avram::ParamKeyOverride < Avram::OperationErrors < Avram::Validations < Avram::DefineAttribute < Avram::NeedyInitializer < Reference < Object

Constants

ATTRIBUTES = [user_id : Int64, leitner_box_id : Int32] of Nil
OPERATION_NEEDS = [] of Nil

Constructors

new(params : Avram::Paramable, user_id : Int64 | Avram::Nothing = Avram::Nothing.new, leitner_box_id : Int32 | Avram::Nothing = Avram::Nothing.new)

This is called at the end so @type will be of the subclass, and not the parent abstract class.

new(user_id : Int64 | Avram::Nothing = Avram::Nothing.new, leitner_box_id : Int32 | Avram::Nothing = Avram::Nothing.new)

This is called at the end so @type will be of the subclass, and not the parent abstract class.

Instance methods

attributes
Source
before_run
Source
leitner_box_id
Source
set_attributes(user_id : Int64 | Avram::Nothing = Avram::Nothing.new, leitner_box_id : Int32 | Avram::Nothing = Avram::Nothing.new)

This is called at the end so @type will be of the subclass, and not the parent abstract class.

user_id
Source

Macros

param_key(key)