Class: HeyYou::Config::Slack

Inherits:
Object
  • Object
show all
Extended by:
Configurable
Defined in:
lib/hey_you/config/slack.rb

Constant Summary collapse

DEFAULT_USERNAME =
'Hey, you'.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSlack

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_usernameObject

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

#webhooksObject

Returns the value of attribute webhooks.



7
8
9
# File 'lib/hey_you/config/slack.rb', line 7

def webhooks
  @webhooks
end