Sha256: 56cafe211486bd9fb3e05989666329b51274b813f1a2ca1def0a6197c7704430

Contents?: true

Size: 609 Bytes

Versions: 17

Compression:

Stored size: 609 Bytes

Contents

module Clienteer
  class Railtie < Rails::Railtie
    rake_tasks do
      namespace :clienteer do
        desc "Collect MindBody information to YAML file"
        task collect: :environment do
          Clienteer::Ingester::MindBody.to_file
        end

        namespace :run do
          desc "Run Clienteer from mindbody.yml"
          task file: :environment do
            Clienteer.call ingestor: Clienteer::Ingester::YAMLFile
          end

          desc "Run Clienteer from new data"
          task fresh: :collect do
            Clienteer.call
          end
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
clienteer-1.7.3 lib/clienteer/railtie.rb
clienteer-1.7.2 lib/clienteer/railtie.rb
clienteer-1.7.1 lib/clienteer/railtie.rb
clienteer-1.7.0 lib/clienteer/railtie.rb
clienteer-1.6.0 lib/clienteer/railtie.rb
clienteer-1.5.12 lib/clienteer/railtie.rb
clienteer-1.5.11 lib/clienteer/railtie.rb
clienteer-1.5.10 lib/clienteer/railtie.rb
clienteer-1.5.9 lib/clienteer/railtie.rb
clienteer-1.5.8 lib/clienteer/railtie.rb
clienteer-1.5.7 lib/clienteer/railtie.rb
clienteer-1.5.6 lib/clienteer/railtie.rb
clienteer-1.5.5 lib/clienteer/railtie.rb
clienteer-1.5.4 lib/clienteer/railtie.rb
clienteer-1.5.3 lib/clienteer/railtie.rb
clienteer-1.5.2 lib/clienteer/railtie.rb
clienteer-1.5.1 lib/clienteer/railtie.rb