Sha256: b0ff053e2938ce08d731c4f8b234be40d345f7df00bd7a4283fb28223e5fbc0c

Contents?: true

Size: 607 Bytes

Versions: 9

Compression:

Stored size: 607 Bytes

Contents

module Pipedream::Dsl
  module Webhook
    include Ssm

    # https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codepipeline-webhook.html
    PROPERTIES = %w[
      authentication
      authentication_configuration
      filters
      name
      register_with_third_party
      target_action
      target_pipeline
      target_pipeline_version
    ]
    PROPERTIES.each do |prop|
      define_method(prop) do |v|
        @properties[prop.to_sym] = v
      end
    end

    def secret_token(v)
      @secret_token = v
    end
    alias_method :github_token, :secret_token
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pipedream-0.4.8 lib/pipedream/dsl/webhook.rb
pipedream-0.4.7 lib/pipedream/dsl/webhook.rb
pipedream-0.4.6 lib/pipedream/dsl/webhook.rb
pipedream-0.4.5 lib/pipedream/dsl/webhook.rb
pipedream-0.4.4 lib/pipedream/dsl/webhook.rb
pipedream-0.4.3 lib/pipedream/dsl/webhook.rb
pipedream-0.4.2 lib/pipedream/dsl/webhook.rb
pipedream-0.4.1 lib/pipedream/dsl/webhook.rb
pipedream-0.4.0 lib/pipedream/dsl/webhook.rb