Module: TeamcityHooks

Defined in:
lib/teamcity_hooks.rb,
lib/teamcity_hooks/version.rb,
lib/teamcity_hooks/configuration.rb

Defined Under Namespace

Classes: Configuration

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.configure {|configuration| ... } ⇒ Object

@api: @configure TeamcityHooks.configure do |c|

c.config_file
c.endpoint = 'http://teamcity.renewfund.com'
c.username = ''
c.password = ''

end

Yields:

  • (configuration)


10
11
12
# File 'lib/teamcity_hooks/configuration.rb', line 10

def configure(&block)
  yield configuration
end