Sha256: 95b68b0d4d83d33471369266d88ad472cb5502016dc87afaf2d6837d3038c24e

Contents?: true

Size: 249 Bytes

Versions: 39

Compression:

Stored size: 249 Bytes

Contents

namespace :intercom do

  desc "Import your users into intercom"
  task :import => :environment do
    begin
      IntercomRails::Import.run(:status_enabled => true)
    rescue IntercomRails::ImportError => e
      puts e.message
    end
  end

end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
intercom-rails-0.2.35 lib/intercom-rails/intercom.rake
intercom-rails-0.2.34 lib/intercom-rails/intercom.rake
intercom-rails-0.2.33 lib/intercom-rails/intercom.rake
intercom-rails-0.2.31 lib/intercom-rails/intercom.rake
intercom-rails-0.2.30 lib/intercom-rails/intercom.rake
intercom-rails-0.2.29 lib/intercom-rails/intercom.rake
intercom-rails-0.2.28 lib/intercom-rails/intercom.rake
intercom-rails-0.2.27 lib/intercom-rails/intercom.rake
intercom-rails-0.2.26 lib/intercom-rails/intercom.rake
intercom-rails-0.2.25 lib/intercom-rails/intercom.rake
intercom-rails-0.2.24 lib/intercom-rails/intercom.rake
intercom-rails-0.2.23 lib/intercom-rails/intercom.rake
intercom-rails-0.2.22 lib/intercom-rails/intercom.rake
intercom-rails-0.2.21 lib/intercom-rails/intercom.rake
intercom-rails-0.2.20 lib/intercom-rails/intercom.rake
intercom-rails-0.2.19 lib/intercom-rails/intercom.rake
intercom-rails-0.2.18 lib/intercom-rails/intercom.rake
intercom-rails-0.2.17 lib/intercom-rails/intercom.rake
intercom-rails-0.2.16 lib/intercom-rails/intercom.rake
intercom-rails-0.2.15 lib/intercom-rails/intercom.rake