Class: StudyLine::CLI::Sender
- Inherits:
-
Object
- Object
- StudyLine::CLI::Sender
- Includes:
- HTTParty
- Defined in:
- lib/study_line.rb
Class Method Summary collapse
Class Method Details
.base_uri ⇒ Object
23 24 25 26 27 28 |
# File 'lib/study_line.rb', line 23 def self.base_uri if File.exist?(CONFIG_FILE) config = JSON.parse(File.read(CONFIG_FILE)) config['BASE_URL'] end end |