Class: Zertico::Interactor

Inherits:
Object
  • Object
show all
Defined in:
lib/zertico/interactor.rb

Instance Method Summary collapse

Instance Method Details

#perform(params) ⇒ Object



3
4
5
# File 'lib/zertico/interactor.rb', line 3

def perform(params)
  fail!('You should overwrite this method!')
end

#rollbackObject



7
8
9
# File 'lib/zertico/interactor.rb', line 7

def rollback
  true
end