Class: ODDB::View::TestNavigationFoot::StubSession

Inherits:
Object
  • Object
show all
Defined in:
test/test_view/navigationfoot.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) app

Returns the value of attribute app



54
55
56
# File 'test/test_view/navigationfoot.rb', line 54

def app
  @app
end

- (Object) flavor

Returns the value of attribute flavor



54
55
56
# File 'test/test_view/navigationfoot.rb', line 54

def flavor
  @flavor
end

- (Object) language

Returns the value of attribute language



54
55
56
# File 'test/test_view/navigationfoot.rb', line 54

def language
  @language
end

- (Object) lookandfeel

Returns the value of attribute lookandfeel



54
55
56
# File 'test/test_view/navigationfoot.rb', line 54

def lookandfeel
  @lookandfeel
end

Instance Method Details

- (Object) default_language



55
56
57
# File 'test/test_view/navigationfoot.rb', line 55

def default_language
  "de"
end

- (Boolean) disabled?

Returns:

  • (Boolean)


58
59
60
# File 'test/test_view/navigationfoot.rb', line 58

def disabled?
  false
end

- (Boolean) enabled?

Returns:

  • (Boolean)


61
62
63
# File 'test/test_view/navigationfoot.rb', line 61

def enabled?
  true
end

- (Object) http_protocol



64
65
66
# File 'test/test_view/navigationfoot.rb', line 64

def http_protocol
  'http'
end

- (Object) server_name



67
68
69
# File 'test/test_view/navigationfoot.rb', line 67

def server_name
  'test.oddb.org'
end

- (Object) user_agent



70
71
72
# File 'test/test_view/navigationfoot.rb', line 70

def user_agent
  'TEST'
end

- (Object) zone_navigation



73
74
75
# File 'test/test_view/navigationfoot.rb', line 73

def zone_navigation
  [:foo]
end