Sha256: 351da2d1569a7c31009b0f04960e05230afa002ae9450fe8d48214ba30fa9367
Contents?: true
Size: 470 Bytes
Versions: 15
Compression:
Stored size: 470 Bytes
Contents
module Rmd class Server class << self def all Configure.get['server'].keys end def get(name) Server.new(Configure.get['server'][name]) end end attr_reader :config def initialize(config) @config = config end def url @config['url'] end def token @config['token'] end def master @config['master'] end def nginx @config['nginx'] end end end
Version data entries
15 entries across 15 versions & 1 rubygems