Module: Rabarber::Configuration
- Extended by:
- Dry::Configurable
- Defined in:
- lib/rabarber/configuration.rb
Class Method Summary collapse
Class Method Details
.user_model ⇒ Object
42 43 44 45 46 47 48 |
# File 'lib/rabarber/configuration.rb', line 42 def user_model Rabarber::Inputs::Model.new( user_model_name, error: Rabarber::ConfigurationError, message: "Invalid configuration `user_model_name`, expected an ActiveRecord model name, got #{user_model_name.inspect}" ).process end |