Sha256: d2b1bff3a19b0d6e7605e19589668a8251f95faaeeb692e27b19126d000b8ef5

Contents?: true

Size: 205 Bytes

Versions: 190

Compression:

Stored size: 205 Bytes

Contents

module ImportFile
  def self.included(base)
    base.extend ClassMethods
  end

  module ClassMethods
    def expire
      self.stucked.find_each do |file|
        file.destroy
      end
    end
  end
end

Version data entries

190 entries across 161 versions & 8 rubygems

Version Path
enju_circulation-0.0.56 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.55 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.54 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.53 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.52 spec/dummy/lib/enju_leaf/import_file.rb
enju_biblio-0.0.2 lib/enju_biblio/import_file.rb
enju_biblio-0.0.1 lib/enju_biblio/import_file.rb
enju_event-0.0.24 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.0.24 lib/enju_event/import_file.rb
enju_circulation-0.0.51 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.50 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.0.23 lib/enju_event/import_file.rb
enju_event-0.0.23 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.1.10 lib/enju_event/import_file.rb
enju_event-0.1.10 spec/dummy/lib/enju_leaf/import_file.rb
enju_circulation-0.0.49 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.1.9 spec/dummy/lib/enju_leaf/import_file.rb
enju_event-0.1.9 lib/enju_event/import_file.rb
enju_event-0.0.22 lib/enju_event/import_file.rb
enju_event-0.0.22 spec/dummy/lib/enju_leaf/import_file.rb