Class: Ixtlan::UserManagement::Application

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource, Virtus
Defined in:
lib/ixtlan/user_management/application_model.rb,
lib/ixtlan/user_management/application_resource.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.base_modelObject

key for selectng the IdentityMap should remain this class if there is no single table inheritance with Discriminator in place i.e. the subclass used as key for the IdentityMap



33
34
35
# File 'lib/ixtlan/user_management/application_resource.rb', line 33

def self.base_model
  self
end

.storage_name(arg) ⇒ Object



26
27
28
# File 'lib/ixtlan/user_management/application_resource.rb', line 26

def self.storage_name(arg)
  'ixtlan_applications'
end

Instance Method Details

#set_timestamps_on_saveObject

do not record timestamps since they are set from outside



44
45
# File 'lib/ixtlan/user_management/application_resource.rb', line 44

def set_timestamps_on_save
end