module TeamcityHooks

Constants

VERSION

Public Class Methods

configure() { |configuration| ... } click to toggle source

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

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

end

# File lib/teamcity_hooks/configuration.rb, line 10
def configure(&block)
  yield configuration
end

Private Instance Methods

configuration() click to toggle source
# File lib/teamcity_hooks/configuration.rb, line 17
def configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source

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

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

end

# File lib/teamcity_hooks/configuration.rb, line 10
def configure(&block)
  yield configuration
end