Method: ActiveInteractor::Interactor::Perform#with_options
- Defined in:
- lib/active_interactor/interactor/perform.rb
#with_options(options) ⇒ self
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set options for an interactor's #perform
244 245 246 247 248 249 250 251 |
# File 'lib/active_interactor/interactor/perform.rb', line 244 def () = if .is_a?(ActiveInteractor::Interactor::Perform::Options) else ActiveInteractor::Interactor::Perform::Options.new() end self end |