lib/invoker/power/config.rb in invoker-1.4.1 vs lib/invoker/power/config.rb in invoker-1.5.1
- old
+ new
@@ -58,12 +58,13 @@
end
def dns_port; @config[:dns_port]; end
def http_port; @config[:http_port]; end
def ipfw_rule_number; @config[:ipfw_rule_number]; end
+ def https_port; @config[:https_port]; end
- def https_port
- @config[:https_port]
+ def tld
+ @config[:tld] || Invoker.default_tld
end
def save
File.open(self.class.config_file, "w") do |fl|
YAML.dump(@config, fl)