Skip to content
This repository has been archived by the owner on Aug 14, 2019. It is now read-only.

Allow each webhook to override it's own channel #43

Merged
merged 6 commits into from Sep 7, 2018

Conversation

rleibman
Copy link
Contributor

No description provided.

@@ -31,7 +31,6 @@ def initialize(config = {})
@timeout = @config[:timeout]
@icon_emoji = @config[:icon_emoji]
@icon_url = @config[:icon_url]
@channel = @config[:channel]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this breaks backwards compatibility

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any suggestions? I need per webhook channels.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this in there and use this option if a webhook specific one is not given

@martinb3
Copy link
Contributor

Hello! I'd agree with @shortdudey123 that this should be a backwards-compatible change / feature enhancement. We should be able to support both the global webhook and a per-channel webhook, without breaking one another.

Also, please don't bump the version in your PR. We can do that on release.

tmanda and others added 5 commits March 15, 2018 11:34
modified to create handlers directory
modified to create handlers directory
changing the version from 0.9.0 to 0.9.1
changing the version from 0.9.0 to 0.9.1
@martinb3 martinb3 merged commit bbc069d into rackspace-cookbooks:master Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants