Module: YiffSpace::Concerns::UserMethods
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/yiffspace/concerns/user_methods.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#destroy_with ⇒ Object
58 59 60 |
# File 'lib/yiffspace/concerns/user_methods.rb', line 58 def destroy_with(...) self.class.with_user(self, :destroy, ...) end |
#destroy_with! ⇒ Object
62 63 64 |
# File 'lib/yiffspace/concerns/user_methods.rb', line 62 def destroy_with!(...) self.class.with_user(self, :destroy!, ...) end |
#update_with ⇒ Object
50 51 52 |
# File 'lib/yiffspace/concerns/user_methods.rb', line 50 def update_with(...) self.class.with_user(self, :update, ...) end |
#update_with! ⇒ Object
54 55 56 |
# File 'lib/yiffspace/concerns/user_methods.rb', line 54 def update_with!(...) self.class.with_user(self, :update!, ...) end |