Sha256: ea8786cfaf702c875cff0ae54c8cd860272596fc4fd969d579c60df94e7fb193

Contents?: true

Size: 635 Bytes

Versions: 23

Compression:

Stored size: 635 Bytes

Contents

# frozen_string_literal: true

module Bolt
  class PAL
    class YamlPlan
      class Step
        class Message < Step
          def self.allowed_keys
            super + Set['message']
          end

          def self.required_keys
            Set['message']
          end

          # Returns an array of arguments to pass to the step's function call
          #
          private def format_args(body)
            [body['message']]
          end

          # Returns the function corresponding to the step
          #
          private def function
            'out::message'
          end
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
bolt-4.0.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.29.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.28.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.27.4 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.27.2 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.27.1 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.26.2 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.26.1 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.25.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.24.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.23.1 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.23.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.22.1 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.22.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.21.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.20.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.19.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.18.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.17.0 lib/bolt/pal/yaml_plan/step/message.rb
bolt-3.16.1 lib/bolt/pal/yaml_plan/step/message.rb