Sha256: 1c1bb0a9670def536468ad59bbe2ad9c80ac6a9c881cb304e8acebbc37f3a610

Contents?: true

Size: 190 Bytes

Versions: 7

Compression:

Stored size: 190 Bytes

Contents

namespace :swaggard do

  desc 'Clear swaggard cache'
  task :clear_cache => :environment do
    Rails.cache.delete('swaggard_doc_json')
    puts 'Swaggard cache has been cleared'
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
swaggard-0.5.4 lib/tasks/swaggard.rake
swaggard-0.5.3 lib/tasks/swaggard.rake
swaggard-0.5.2 lib/tasks/swaggard.rake
swaggard-0.5.1 lib/tasks/swaggard.rake
swaggard-0.5.0 lib/tasks/swaggard.rake
swaggard-0.4.0 lib/tasks/swaggard.rake
swaggard-0.3.0 lib/tasks/swaggard.rake