class Patches::Config::Configuration
Attributes
hipchat_options[RW]
sidekiq_options[RW]
sidekiq_parallel[RW]
sidekiq_queue[RW]
slack_options[RW]
use_hipchat[RW]
use_sidekiq[RW]
use_slack[RW]
Public Class Methods
new()
click to toggle source
# File lib/patches/config.rb, line 20 def initialize @sidekiq_queue = 'default' end
Public Instance Methods
hipchat_api_token()
click to toggle source
# File lib/patches/config.rb, line 28 def hipchat_api_token hipchat_options[:api_token] end
hipchat_init_options()
click to toggle source
# File lib/patches/config.rb, line 32 def hipchat_init_options hipchat_options.except(:api_token, :room, :user) end
hipchat_room()
click to toggle source
# File lib/patches/config.rb, line 36 def hipchat_room hipchat_options[:room] end
hipchat_user()
click to toggle source
# File lib/patches/config.rb, line 40 def hipchat_user hipchat_options[:user] end
slack_channel()
click to toggle source
# File lib/patches/config.rb, line 44 def slack_channel slack_options[:channel] end
slack_username()
click to toggle source
# File lib/patches/config.rb, line 48 def slack_username slack_options[:username] end
slack_webhook_url()
click to toggle source
# File lib/patches/config.rb, line 52 def slack_webhook_url slack_options[:webhook_url] end