Class: GM::BuildConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods-byte-csjm/config.rb

Class Method Summary collapse

Class Method Details

.get_all_configObject



37
38
39
# File 'lib/cocoapods-byte-csjm/config.rb', line 37

def self.get_all_config
  [BuildConfig.get_update_key,BuildConfig.get_load_key,BuildConfig.get_load_detect_key]
end

.get_load_detect_keyObject



13
14
15
# File 'lib/cocoapods-byte-csjm/config.rb', line 13

def self.get_load_detect_key
  :gm_load_detect
end

.get_load_keyObject



5
6
7
# File 'lib/cocoapods-byte-csjm/config.rb', line 5

def self.get_load_key
  :gm_auto_load
end

.get_load_whitelist_keyObject



17
18
19
# File 'lib/cocoapods-byte-csjm/config.rb', line 17

def self.get_load_whitelist_key
  :auto_load_whitelist
end

.get_update_keyObject



9
10
11
# File 'lib/cocoapods-byte-csjm/config.rb', line 9

def self.get_update_key
  :gm_auto_update
end

.mediation_nameObject



33
34
35
# File 'lib/cocoapods-byte-csjm/config.rb', line 33

def self.mediation_name
  return "Ads-Fusion-CN-Beta/CSJMediation"
end

.update_value_last_stable_versionObject



25
26
27
# File 'lib/cocoapods-byte-csjm/config.rb', line 25

def self.update_value_last_stable_version
  return "last_stable" ## 最新稳定版本
end

.update_value_last_versionObject



21
22
23
# File 'lib/cocoapods-byte-csjm/config.rb', line 21

def self.update_value_last_version
  return "last"  ## 最新版本
end

.update_value_nonObject



29
30
31
# File 'lib/cocoapods-byte-csjm/config.rb', line 29

def self.update_value_non
  return "not_update"   ## 不自动更新
end