Sha256: b567f0e86f98b64746e64465d176bf4d9944b26326ab3edb05cdbf6ce4704807

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

module Pantograph
  module Actions
    class LaneContextAction < Action
      def self.run(params)
        Actions.lane_context
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Access lane context values"
      end

      def self.details
        [
          "Access the pantograph lane context values.",
          "More information about how the lane context works: [https://docs.pantograph.tools/advanced/#lane-context](https://docs.pantograph.tools/advanced/#lane-context)."
        ].join("\n")
      end

      def self.available_options
        []
      end

      def self.output
        []
      end

      def self.return_type
        :hash
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      # We don't want to show this as step
      def self.step_text
        nil
      end

      def self.example_code
        [
          'lane_context[SharedValues::BUILD_NUMBER]',
          'lane_context[SharedValues::IPA_OUTPUT_PATH]'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pantograph-0.1.4 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.3 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.1 pantograph/lib/pantograph/actions/lane_context.rb
pantograph-0.1.0 pantograph/lib/pantograph/actions/lane_context.rb