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