Class: ODDB::View::TestSponsorHead::StubCompany

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

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Instance Attribute Details

- (Object) represents

Returns the value of attribute represents



82
83
84
# File 'test/test_view/sponsorhead.rb', line 82

def represents
  @represents
end

Returns the value of attribute sponsor_until



82
83
84
# File 'test/test_view/sponsorhead.rb', line 82

def 
  @sponsor_until
end

Instance Method Details

- (Object) company



83
84
85
# File 'test/test_view/sponsorhead.rb', line 83

def company
  self
end

- (Object) logo_filename(language)



89
90
91
# File 'test/test_view/sponsorhead.rb', line 89

def logo_filename(language)
  "sponsorlogo"
end

- (Object) name



86
87
88
# File 'test/test_view/sponsorhead.rb', line 86

def name
  "sponsorlogo"
end

- (Boolean) valid?

Returns:

  • (Boolean)


92
93
94
# File 'test/test_view/sponsorhead.rb', line 92

def valid?
  @represents
end