Class: HeyYou::Config::Slack
- Inherits:
-
Object
- Object
- HeyYou::Config::Slack
- Extended by:
- Configurable
- Defined in:
- lib/hey_you/config/slack.rb
Constant Summary collapse
- DEFAULT_USERNAME =
'Hey, you'.freeze
Instance Attribute Summary collapse
-
#slack_username ⇒ Object
Returns the value of attribute slack_username.
-
#webhooks ⇒ Object
Returns the value of attribute webhooks.
Instance Method Summary collapse
-
#initialize ⇒ Slack
constructor
A new instance of Slack.
Constructor Details
#initialize ⇒ Slack
Returns a new instance of Slack.
11 12 13 |
# File 'lib/hey_you/config/slack.rb', line 11 def initialize @slack_username = DEFAULT_USERNAME end |
Instance Attribute Details
#slack_username ⇒ Object
Returns the value of attribute slack_username.
7 8 9 |
# File 'lib/hey_you/config/slack.rb', line 7 def slack_username @slack_username end |
#webhooks ⇒ Object
Returns the value of attribute webhooks.
7 8 9 |
# File 'lib/hey_you/config/slack.rb', line 7 def webhooks @webhooks end |