Class: ODDB::View::Companies::TestCompanyList::StubSession

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) event

Returns the value of attribute event



29
30
31
# File 'test/test_view/companies/companylist.rb', line 29

def event
  @event
end

Instance Method Details

- (Object) app



30
31
32
# File 'test/test_view/companies/companylist.rb', line 30

def app
  self
end

- (Object) attributes(*args)



33
34
35
# File 'test/test_view/companies/companylist.rb', line 33

def attributes(*args)
  {}
end

- (Boolean) enabled?(*args)

Returns:

  • (Boolean)


45
46
47
# File 'test/test_view/companies/companylist.rb', line 45

def enabled?(*args)
  true
end

- (Object) event_url(*args)



48
49
50
# File 'test/test_view/companies/companylist.rb', line 48

def event_url(*args)
  "bar"
end

- (Object) id



57
58
59
# File 'test/test_view/companies/companylist.rb', line 57

def id
  12345
end

- (Object) lookandfeel



36
37
38
# File 'test/test_view/companies/companylist.rb', line 36

def lookandfeel
  self
end

- (Object) lookup(*args)



39
40
41
# File 'test/test_view/companies/companylist.rb', line 39

def lookup(*args)
  "foo"
end


42
43
44
# File 'test/test_view/companies/companylist.rb', line 42

def navigation
  []
end

- (Object) resource_localized(*args)



51
52
53
# File 'test/test_view/companies/companylist.rb', line 51

def resource_localized(*args)
  true
end

- (Object) state



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

def state
  self
end