Sha256: f2d2acbb3a3745ed304c9befe7f93afb4fcc7678227478c19161a7eb04b41db8

Contents?: true

Size: 410 Bytes

Versions: 4

Compression:

Stored size: 410 Bytes

Contents

module EacLauncher
  module Publish
    class Base
      def run
        s = check
        info("Check: #{s}")
        return unless s.status == ::EacLauncher::Publish::CheckResult::STATUS_PENDING
        publish
      end

      def check
        internal_check
      rescue ::EacLauncher::Instances::Error => ex
        ::EacLauncher::Publish::CheckResult.blocked("Error: #{ex}")
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
eac_launcher-0.1.6 lib/eac_launcher/publish/base.rb
eac_launcher-0.1.5 lib/eac_launcher/publish/base.rb
eac_launcher-0.1.3 lib/eac_launcher/publish/base.rb
eac_launcher-0.1.4 lib/eac_launcher/publish/base.rb