Class: ODDB::Export::SessionStub

Inherits:
Object
  • Object
show all
Defined in:
lib/oddb/export/l10n_sessions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSessionStub

Returns a new instance of SessionStub.



12
13
14
15
16
17
# File 'lib/oddb/export/l10n_sessions.rb', line 12

def initialize
  @flavor = Html::Util::Session::DEFAULT_FLAVOR
  @http_protocol = 'http'
  @default_language = 'de'
  @server_name = ODDB.config.server_name
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object



18
19
# File 'lib/oddb/export/l10n_sessions.rb', line 18

def method_missing(*args)
end

Instance Attribute Details

#default_languageObject (readonly)

Returns the value of attribute default_language.



10
11
12
# File 'lib/oddb/export/l10n_sessions.rb', line 10

def default_language
  @default_language
end

#flavorObject (readonly)

Returns the value of attribute flavor.



10
11
12
# File 'lib/oddb/export/l10n_sessions.rb', line 10

def flavor
  @flavor
end

#http_protocolObject (readonly)

Returns the value of attribute http_protocol.



10
11
12
# File 'lib/oddb/export/l10n_sessions.rb', line 10

def http_protocol
  @http_protocol
end

#languageObject

Returns the value of attribute language.



11
12
13
# File 'lib/oddb/export/l10n_sessions.rb', line 11

def language
  @language
end

#lookandfeelObject

Returns the value of attribute lookandfeel.



11
12
13
# File 'lib/oddb/export/l10n_sessions.rb', line 11

def lookandfeel
  @lookandfeel
end

#server_nameObject (readonly)

Returns the value of attribute server_name.



10
11
12
# File 'lib/oddb/export/l10n_sessions.rb', line 10

def server_name
  @server_name
end