Module: Pathway::Plugins::SequelModels

Defined in:
lib/pathway/plugins/sequel_models.rb

Defined Under Namespace

Modules: ClassMethods, DSLMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.apply(operation, model: nil, **kwargs) ⇒ Object



87
88
89
# File 'lib/pathway/plugins/sequel_models.rb', line 87

def self.apply(operation, model: nil, **kwargs)
  operation.model(model, **kwargs) if model
end