Class: RubbishCollection::UnknownAdapter
- Inherits:
-
Object
- Object
- RubbishCollection::UnknownAdapter
- Defined in:
- lib/rubbish_collection.rb
Instance Method Summary collapse
- #collection_times_at(postcode) ⇒ Object
-
#initialize(local_authority) ⇒ UnknownAdapter
constructor
A new instance of UnknownAdapter.
Constructor Details
#initialize(local_authority) ⇒ UnknownAdapter
Returns a new instance of UnknownAdapter.
14 15 16 |
# File 'lib/rubbish_collection.rb', line 14 def initialize self. = end |
Instance Method Details
#collection_times_at(postcode) ⇒ Object
18 19 20 |
# File 'lib/rubbish_collection.rb', line 18 def collection_times_at postcode raise "I don't know how to fetch times for #{.name} #{.map_it_id}" end |