Class: Rails::DataMapper::SessionStore::Session

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.nameObject



20
21
22
# File 'lib/dm-rails/session_store.rb', line 20

def self.name
  'session'
end

Instance Method Details

#dataObject



24
25
26
# File 'lib/dm-rails/session_store.rb', line 24

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