Sha256: 2fed85f04198325245ff988870ed58d8a2b78c9d2a204635ba63f3da286b1477

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

# frozen_string_literal: true

module Pcli
  module Services
    module Steps
      class Authenticate < Step
        include Depends.on('authenticate')

        spaced

        def run(_prev)
          authenticate.run ? success : failure
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pcli-0.1.1 lib/pcli/services/steps/authenticate.rb
pcli-0.1.0 lib/pcli/services/steps/authenticate.rb