Module: Weibo2::Config

Defined in:
lib/weibo2/config.rb

Class Method Summary collapse

Class Method Details

.api_keyObject



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

def self.api_key
  @@api_key
end

.api_key=(val) ⇒ Object



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

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

.api_secretObject



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

def self.api_secret
  @@api_secret
end

.api_secret=(val) ⇒ Object



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

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

.redirect_uriObject



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

def self.redirect_uri
  @@redirect_uri
end

.redirect_uri=(val) ⇒ Object



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

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