Sha256: db99b6e843533578b0a9fb4d9337cabcb9ece11a3d187d1fbfed581311ec7832

Contents?: true

Size: 544 Bytes

Versions: 2

Compression:

Stored size: 544 Bytes

Contents

namespace :mingle do

  desc "Fetch everything"
  task fetch: ['twitter:fetch', 'facebook:fetch', 'instagram:fetch']

  namespace :twitter do

    desc "Fetch tweets from Twitter"
    task fetch: :environment do
      Mingle::Twitter.fetch
    end

  end

  namespace :facebook do

    desc "Fetch posts from Facebook"
    task fetch: :environment do
      Mingle::Facebook.fetch
    end

  end

  namespace :instagram do

    desc "Fetch photos from Instagram"
    task fetch: :environment do
      Mingle::Instagram.fetch
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mingle-0.1.1 lib/tasks/mingle_tasks.rake
mingle-0.1 lib/tasks/mingle_tasks.rake