Class: Eaternet::Lives_1_0::Adapter
Abstract
- Inherits:
-
Object
- Object
- Eaternet::Lives_1_0::Adapter
show all
- Defined in:
- lib/eaternet/lives_1_0/adapter.rb
Overview
Instance Method Summary
collapse
Instance Method Details
#businesses ⇒ Enumerable<Business>
13
14
15
|
# File 'lib/eaternet/lives_1_0/adapter.rb', line 13
def businesses
fail 'Override Adapter#businesses to return an Enumerable of Business'
end
|
46
47
48
|
# File 'lib/eaternet/lives_1_0/adapter.rb', line 46
def feed_info
fail 'Optionally override this to return a FeedInfo'
end
|
#inspections ⇒ Enumerable<Inspection>
28
29
30
|
# File 'lib/eaternet/lives_1_0/adapter.rb', line 28
def inspections
fail 'Override Adapter#inspections to return an Enumerable of Inspection'
end
|
#legends ⇒ Enumerable<Legend>
52
53
54
|
# File 'lib/eaternet/lives_1_0/adapter.rb', line 52
def legends
fail 'Optionally override this to return an Enumerable of Legend'
end
|
#violations ⇒ Enumerable<Violation>
34
35
36
|
# File 'lib/eaternet/lives_1_0/adapter.rb', line 34
def violations
fail 'Optionally override this to return an Enumerable of Violation'
end
|