Class: Clearbit::Slack::Configuration
- Inherits:
-
Object
- Object
- Clearbit::Slack::Configuration
- Defined in:
- lib/clearbit/slack/configuration.rb
Instance Attribute Summary collapse
-
#slack_channel ⇒ Object
Returns the value of attribute slack_channel.
-
#slack_url ⇒ Object
Returns the value of attribute slack_url.
Instance Method Summary collapse
Instance Attribute Details
#slack_channel ⇒ Object
Returns the value of attribute slack_channel.
4 5 6 |
# File 'lib/clearbit/slack/configuration.rb', line 4 def slack_channel @slack_channel end |
#slack_url ⇒ Object
Returns the value of attribute slack_url.
4 5 6 |
# File 'lib/clearbit/slack/configuration.rb', line 4 def slack_url @slack_url end |
Instance Method Details
#merge(hash) ⇒ Object
13 14 15 |
# File 'lib/clearbit/slack/configuration.rb', line 13 def merge(hash) to_hash.merge(hash) end |
#to_hash ⇒ Object
6 7 8 9 10 11 |
# File 'lib/clearbit/slack/configuration.rb', line 6 def to_hash { slack_url: slack_url, slack_channel: slack_channel } end |