Module: FlexiModel::Persistence

Extended by:
ActiveSupport::Concern
Defined in:
lib/flexi_model/stub_persistence.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#countObject



21
# File 'lib/flexi_model/stub_persistence.rb', line 21

def count; end

#createObject



15
# File 'lib/flexi_model/stub_persistence.rb', line 15

def create; end

#delete_allObject



20
# File 'lib/flexi_model/stub_persistence.rb', line 20

def delete_all; end

#destroyObject



18
# File 'lib/flexi_model/stub_persistence.rb', line 18

def destroy; end

#destroy_allObject



19
# File 'lib/flexi_model/stub_persistence.rb', line 19

def destroy_all; end

#lengthObject



22
# File 'lib/flexi_model/stub_persistence.rb', line 22

def length; end

#saveObject

Persist data in AR backend or Mongoid backend



14
# File 'lib/flexi_model/stub_persistence.rb', line 14

def save; end

#update_attributeObject



17
# File 'lib/flexi_model/stub_persistence.rb', line 17

def update_attribute; end

#update_attributesObject



16
# File 'lib/flexi_model/stub_persistence.rb', line 16

def update_attributes; end