Sha256: 646765892d5669ec72f991515e721315f8df2f22b6eb5583679e84a029d12011

Contents?: true

Size: 321 Bytes

Versions: 2

Compression:

Stored size: 321 Bytes

Contents

namespace :meter_cat do

  desc 'Email meter report, as configured'
  task mail: :environment do
    MeterCat.mail
  end

  desc 'Generate a random meter sequence given arguments: [name, min, max, days]'
  task :random, [:name, :min, :max, :days] => :environment do |_t, args|
    MeterCat::Meter.random(args)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
meter_cat-5.0.1 lib/tasks/meter_cat.rake
meter_cat-5.0.0 lib/tasks/meter_cat.rake