lib/arii/jsondetector.rb in arii-1.0.8 vs lib/arii/jsondetector.rb in arii-1.1

- old
+ new

@@ -40,10 +40,10 @@ end ## # If not on cache, add to payload for processing # - if @cache[:status] == 100 then + if @cache[:cache][:status] == 100 then ARII::Config.log.info(self.class.name) {"Not on cache, generating payload"} # add row data to payload from selectors (key => key, value => column name) payload = Hash.new object[:selectors].each do |selector| selector.each do |k,v| \ No newline at end of file