Class: CliConfig
Instance Method Summary collapse
Instance Method Details
#data ⇒ Object
49 50 51 |
# File 'lib/cli_config.rb', line 49 def data config end |
#load! ⇒ Object
42 43 44 45 46 47 |
# File 'lib/cli_config.rb', line 42 def load! self. unless self.config[:domain] && self.config[:room] && (self.config[:username] || self.config[:api_key]) raise "Missing parameters - please run 'campline --help' for help" end end |