Class: TheCity::ChurchReader
- Defined in:
- lib/readers/church_reader.rb
Instance Attribute Summary
Attributes inherited from ApiReader
Instance Method Summary collapse
-
#initialize(options = {}, cacher = nil) ⇒ ChurchReader
constructor
Constructor.
Methods inherited from ApiReader
#load_feed, #rate_limit, #rate_limit_remaining
Constructor Details
#initialize(options = {}, cacher = nil) ⇒ ChurchReader
Constructor.
9 10 11 12 13 14 15 |
# File 'lib/readers/church_reader.rb', line 9 def initialize( = {}, cacher = nil) #@class_key = "church" @url_data_path = '/churches' # The object to store and load the cache. # @cacher = cacher unless cacher.nil? end |