Module: MpWeixin::Config

Defined in:
lib/mp_weixin/config.rb

Class Method Summary collapse

Class Method Details

.app_idObject



8
9
10
# File 'lib/mp_weixin/config.rb', line 8

def self.app_id
  @@app_id
end

.app_id=(val) ⇒ Object



4
5
6
# File 'lib/mp_weixin/config.rb', line 4

def self.app_id= (val)
  @@app_id = val
end

.app_secretObject



16
17
18
# File 'lib/mp_weixin/config.rb', line 16

def self.app_secret
  @@app_secret
end

.app_secret=(val) ⇒ Object



12
13
14
# File 'lib/mp_weixin/config.rb', line 12

def self.app_secret= (val)
  @@app_secret = val
end

.tokenObject



32
33
34
# File 'lib/mp_weixin/config.rb', line 32

def self.token
  @@token
end

.token=(val) ⇒ Object



28
29
30
# File 'lib/mp_weixin/config.rb', line 28

def self.token= (val)
  @@token = val
end

.urlObject



24
25
26
# File 'lib/mp_weixin/config.rb', line 24

def self.url
  @@url
end

.url=(val) ⇒ Object



20
21
22
# File 'lib/mp_weixin/config.rb', line 20

def self.url= (val)
  @@url = val
end