Method: Bart::API#refresh

Defined in:
lib/bart_api/api.rb

#refreshObject

For APIs that extend Memoist, allow the user to call refresh as an alias for flush_cache.



48
49
50
# File 'lib/bart_api/api.rb', line 48

def refresh
  send(:flush_cache) if respond_to?(:flush_cache)
end