Sha256: 446b8686c3c8421122f3d4676a9429c3552bbe8f4814c5a96a1100280a7dda15

Contents?: true

Size: 678 Bytes

Versions: 14

Compression:

Stored size: 678 Bytes

Contents

require 'engineyard-serverside/cli/workflows/base'
require 'engineyard-serverside/cli/workflows/helpers'
require 'engineyard-serverside/maintenance'

module EY
  module Serverside
    module CLI
      module Workflows

        # ShowingMaintenanceStatus is a Workflow that reports the current
        # enabled/disabled status of the maintenance page for the application
        # specified in the options
        class ShowingMaintenanceStatus < Base
          include Helpers

          private
          def procedure
            maintenance.status
          end

          def task_name
            'maintenance-status'
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
engineyard-serverside-3.0.4 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-3.0.3 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.8.0 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.8.0.pre4 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.8.0.pre3 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.8.0.pre2 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.8.0.pre lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.7.0.pre lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.19 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.17 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.16 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.15.alpha1 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.15.cf2 lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb
engineyard-serverside-2.6.15.pre lib/engineyard-serverside/cli/workflows/showing_maintenance_status.rb