Class: DataMapperStore::Session

Inherits:
Object
  • Object
show all
Includes:
DataMapper::Resource
Defined in:
lib/rails_datamapper/session_store.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.nameObject



51
52
53
# File 'lib/rails_datamapper/session_store.rb', line 51

def self.name
  'session'
end

Instance Method Details

#dataObject



55
56
57
# File 'lib/rails_datamapper/session_store.rb', line 55

def data
  attribute_get(:data) || {}
end