Module: Discharger

Defined in:
lib/discharger.rb,
lib/discharger/task.rb,
lib/discharger/railtie.rb,
lib/discharger/version.rb,
lib/generators/discharger/install/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Railtie, Task

Constant Summary collapse

VERSION =
"0.2.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.slack_tokenObject

Returns the value of attribute slack_token.



6
7
8
# File 'lib/discharger.rb', line 6

def slack_token
  @slack_token
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Discharger)

    the object that the method was called on



8
9
10
# File 'lib/discharger.rb', line 8

def configure
  yield self
end