Sha256: 38960933d537715ba93c1646c03937eb55a66a0d30eef1cb846f60ac7e10cce9
Contents?: true
Size: 553 Bytes
Versions: 5
Compression:
Stored size: 553 Bytes
Contents
module TheCity class TerminologyReader < ApiReader # Constructor. # # @param term The name of the term to load. # @param options (optional) Options for including more information. # @param [CacheAdapter] cacher (optional) The cacher to be used to cache data. def initialize(term, options = {}, 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 end end
Version data entries
5 entries across 5 versions & 1 rubygems