Class: UmfConfig
- Inherits:
-
Object
- Object
- UmfConfig
- Defined in:
- lib/UmfConfig.rb
Overview
UmfConfig author : zhaoyingxin
Constant Summary collapse
- @@umf_log_switch =
false- @@umf_log_path =
''- @@umf_mer_client_id =
''- @@umf_mer_client_secret =
''
Class Method Summary collapse
- .umf_log_path ⇒ Object
- .umf_log_path=(x) ⇒ Object
- .umf_log_switch ⇒ Object
- .umf_log_switch=(x) ⇒ Object
- .umf_mer_client_id ⇒ Object
- .umf_mer_client_id=(x) ⇒ Object
- .umf_mer_client_secret ⇒ Object
- .umf_mer_client_secret=(x) ⇒ Object
Class Method Details
.umf_log_path ⇒ Object
18 19 20 |
# File 'lib/UmfConfig.rb', line 18 def UmfConfig.umf_log_path @@umf_log_path end |
.umf_log_path=(x) ⇒ Object
21 22 23 |
# File 'lib/UmfConfig.rb', line 21 def UmfConfig.umf_log_path=(x) @@umf_log_path=x end |
.umf_log_switch ⇒ Object
11 12 13 |
# File 'lib/UmfConfig.rb', line 11 def UmfConfig.umf_log_switch @@umf_log_switch end |
.umf_log_switch=(x) ⇒ Object
14 15 16 |
# File 'lib/UmfConfig.rb', line 14 def UmfConfig.umf_log_switch=(x) @@umf_log_switch=x end |
.umf_mer_client_id ⇒ Object
25 26 27 |
# File 'lib/UmfConfig.rb', line 25 def UmfConfig.umf_mer_client_id @@umf_mer_client_id end |
.umf_mer_client_id=(x) ⇒ Object
28 29 30 |
# File 'lib/UmfConfig.rb', line 28 def UmfConfig.umf_mer_client_id=(x) @@umf_mer_client_id=x end |
.umf_mer_client_secret ⇒ Object
32 33 34 |
# File 'lib/UmfConfig.rb', line 32 def UmfConfig.umf_mer_client_secret @@umf_mer_client_secret end |
.umf_mer_client_secret=(x) ⇒ Object
35 36 37 |
# File 'lib/UmfConfig.rb', line 35 def UmfConfig.umf_mer_client_secret=(x) @@umf_mer_client_secret=x end |