lib/rets/metadata/root.rb
# Wether there exists a more up to date version of the metadata to fetch
# is dependant on either a timestamp indicating when the most recent
# version was published, or a version number. These values may or may
# not exist on any given rets server.
Wether there exists a more up to date version of the metadata to fetch
is dependant on either a timestamp indicating when the most recent
version was published, or a version number. These values may or may
not exist on any given rets server.
Wether there exists a more up to date version of the metadata to fetch is dependant on either a timestamp indicating when the most recent version was published or a version number . These values may or may not exist on any given rets server .
def current?(current_timestamp, current_version)
        if !current_version.to_s.empty? && !version.to_s.empty?
          current_version == version
        else
          current_timestamp ? current_timestamp == date : true
        end
      end
def current? ( current_timestamp , current_version ) if ! current_version . to_s . empty? && ! version . to_s . empty? current_version == version else current_timestamp ? current_timestamp == date : true end end
Wether there exists a more up to date version of the metadata to fetch
is dependant on either a timestamp indicating when the most recent
version was published, or a version number.
Wether there exists a more up to date version of the metadata to fetch is dependant on either a timestamp indicating when the most recent version was published or a version number .
current_timestamp
current_version