class Rmd::Server
Attributes
config[R]
Public Class Methods
all()
click to toggle source
# File lib/rmd/server.rb, line 4 def all Configure.get['server'].keys end
get(name)
click to toggle source
# File lib/rmd/server.rb, line 8 def get(name) Server.new(Configure.get['server'][name]) end
new(config)
click to toggle source
# File lib/rmd/server.rb, line 15 def initialize(config) @config = config end
Public Instance Methods
master()
click to toggle source
# File lib/rmd/server.rb, line 27 def master @config['master'] end
nginx()
click to toggle source
# File lib/rmd/server.rb, line 31 def nginx @config['nginx'] end
token()
click to toggle source
# File lib/rmd/server.rb, line 23 def token @config['token'] end
url()
click to toggle source
# File lib/rmd/server.rb, line 19 def url @config['url'] end