class Teneo::DataModel::Concept::CRUD::Index

Public Instance Methods

model!(ctx, filter: nil, **) click to toggle source
# File lib/teneo/data_model/concept/crud.rb, line 24
def model!(ctx, filter: nil, **)
  ctx[result_param(:model)] = filter ? get_model_class.where(filter).all : get_model_class.all
end