Class: Baykit::BayServer::Docker::Base::RerouteBase

Inherits:
DockerBase
  • Object
show all
Includes:
Bcf, Reroute
Defined in:
lib/baykit/bayserver/docker/base/reroute_base.rb

Instance Attribute Summary

Attributes inherited from DockerBase

#type

Instance Method Summary collapse

Methods included from Docker

#type

Methods inherited from DockerBase

#init_docker, #init_key_val, #to_s

Instance Method Details

#init(elm, parent) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/baykit/bayserver/docker/base/reroute_base.rb', line 12

def init(elm, parent)
  name = elm.arg;
  if name != "*"
    raise ConfigException.new(elm.file_name, elm.line_no, "Invalid reroute name: %s", name)
  end
  super
end

#match(uri) ⇒ Object



21
22
23
# File 'lib/baykit/bayserver/docker/base/reroute_base.rb', line 21

def match(uri)
  return true
end