Module: FlexiModel::Persistence
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/flexi_model/stub_persistence.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
- #count ⇒ Object
- #create ⇒ Object
- #delete_all ⇒ Object
- #destroy ⇒ Object
- #destroy_all ⇒ Object
- #length ⇒ Object
-
#save ⇒ Object
Persist data in AR backend or Mongoid backend.
- #update_attribute ⇒ Object
- #update_attributes ⇒ Object
Instance Method Details
#count ⇒ Object
21 |
# File 'lib/flexi_model/stub_persistence.rb', line 21 def count; end |
#create ⇒ Object
15 |
# File 'lib/flexi_model/stub_persistence.rb', line 15 def create; end |
#delete_all ⇒ Object
20 |
# File 'lib/flexi_model/stub_persistence.rb', line 20 def delete_all; end |
#destroy ⇒ Object
18 |
# File 'lib/flexi_model/stub_persistence.rb', line 18 def destroy; end |
#destroy_all ⇒ Object
19 |
# File 'lib/flexi_model/stub_persistence.rb', line 19 def destroy_all; end |
#length ⇒ Object
22 |
# File 'lib/flexi_model/stub_persistence.rb', line 22 def length; end |
#save ⇒ Object
Persist data in AR backend or Mongoid backend
14 |
# File 'lib/flexi_model/stub_persistence.rb', line 14 def save; end |
#update_attribute ⇒ Object
17 |
# File 'lib/flexi_model/stub_persistence.rb', line 17 def update_attribute; end |
#update_attributes ⇒ Object
16 |
# File 'lib/flexi_model/stub_persistence.rb', line 16 def update_attributes; end |