Class: GerritEventRouter::Config::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ger/config.rb

Direct Known Subclasses

Broker::Config::Base, Gerrit::Config

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



25
26
27
# File 'lib/ger/config.rb', line 25

def name
  @name
end

#uriObject (readonly)

Returns the value of attribute uri.



25
26
27
# File 'lib/ger/config.rb', line 25

def uri
  @uri
end

Instance Method Details

#initiallize(name, uri) ⇒ Object



20
21
22
23
# File 'lib/ger/config.rb', line 20

def initiallize(name, uri)
  @name = name
  @uri = uri.gsub(%r|/+$|, "")
end