class Cfan122::Config
Attributes
domain[RW]
password[RW]
timeout[RW]
username[RW]
Public Class Methods
new()
click to toggle source
# File lib/cfan122/config.rb, line 10 def initialize reset end
Public Instance Methods
reset()
click to toggle source
# File lib/cfan122/config.rb, line 14 def reset @domain ||= 'http://www.122.gov.cn' @username = nil @password = nil end