Class: _APPLICATION_UPCODE_::Session

Inherits:
RubyApp::Session show all
Defined in:
lib/ruby_app/templates/application/lib/_APPLICATION_DOWNCODE_/session.rb

Instance Attribute Summary

Attributes inherited from RubyApp::Session

#data, #identity, #pages, #session_id

Instance Method Summary collapse

Methods inherited from RubyApp::Session

#[], #[]=, create!, destroy!, get, #quit, #show

Methods included from RubyApp::Mixins::DelegateMixin

#method_missing

Methods included from RubyApp::Mixins::TranslateMixin

#localize, #translate

Methods included from RubyApp::Mixins::ConfigureMixin

#configure

Methods included from RubyApp::Mixins::HashMixin

#method_missing

Constructor Details

#initialize(session_id, page = nil) ⇒ Session

Returns a new instance of Session.



10
11
12
13
# File 'lib/ruby_app/templates/application/lib/_APPLICATION_DOWNCODE_/session.rb', line 10

def initialize(session_id, page = nil)
  require '_APPLICATION_DOWNCODE_/elements/pages/default_page'
  super(session_id, page || _APPLICATION_UPCODE_::Elements::Pages::DefaultPage.new)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RubyApp::Mixins::HashMixin