Sha256: 1b2e31642b3d8f022ee1324f405e042221918a65bf5b46470cb53381fdbf26e3
Contents?: true
Size: 546 Bytes
Versions: 8
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true require 'yaml' module Lhj # ios Robot Config class IOSRobotConfig CONFIG_NAME = 'ios_robot_config.yml' def self.config_file File.join(Lhj::Config.instance.home_dir, CONFIG_NAME) end def self.config @yaml ||= YAML.load_file(config_file) end def self.agent_id config['agent_id'] end def self.app_key config['app_key'] end def self.app_secret config['app_secret'] end def self.base_url config['base_url'] end end end
Version data entries
8 entries across 8 versions & 1 rubygems