lib/fx_rates/api/parser/ecb.rb
def last_date_processed(date)
          if @last_date_processed.nil?
            @last_date_processed = date
          else
            if date > @last_date_processed
              @last_date_processed = date
            end
          end
        end
# This check allows the process to be called regularly without duplicating
# data to the key/value store. (This is required since this process will
# be called by a cron job regularly.
#
# date - Current date being processed in the get_data method.
#
# Returns nothing.
This check allows the process to be called regularly without duplicating
data to the key/value store. (This is required since this process will
be called by a cron job regularly.

Current date being processed in the get_data method.

Returns nothing.
This check allows the process to be called regularly without duplicating data to the key / value store . ( This is required since this process will be called by a cron job regularly . Current date being processed in the get_data method . Returns nothing .
def last_date_processed(date)
          if @last_date_processed.nil?
            @last_date_processed = date
          else
            if date > @last_date_processed
              @last_date_processed = date
            end
          end
        end
def last_date_processed ( date ) if @last_date_processed . nil? @last_date_processed = date else if date > @last_date_processed @last_date_processed = date end end end
This check allows the process to be called regularly without duplicating
data to the key/value store.
This check allows the process to be called regularly without duplicating data to the key / value store .
date