Class: Eaternet::Lives_1_0::Adapter

Inherits:
Object
  • Object
show all
Defined in:
lib/eaternet/lives_1_0.rb

Direct Known Subclasses

Agencies::Nyc

Instance Method Summary collapse

Instance Method Details

#businessesEnumerable<Business>

Required.

Returns:


21
22
23
# File 'lib/eaternet/lives_1_0.rb', line 21

def businesses
  fail 'Override this to return an Enumerable of Business'
end

#feed_infoFeedInfo

Optional.

Returns:


39
40
41
# File 'lib/eaternet/lives_1_0.rb', line 39

def feed_info
  fail 'Optionally override this to return a FeedInfo'
end

#inspectionsEnumerable<Inspection>

Required.

Returns:


27
28
29
# File 'lib/eaternet/lives_1_0.rb', line 27

def inspections
  fail 'Override this to return an Enumerable of Inspection'
end

#violationsEnumerable<Violation>

Optional.

Returns:


33
34
35
# File 'lib/eaternet/lives_1_0.rb', line 33

def violations
  fail 'Optionally override this to return an Enumerable of Violation'
end