Module: Weibo::Config
- Defined in:
- lib/weibo_focus/config.rb
Class Method Summary collapse
- .api_key ⇒ Object
- .api_key=(val) ⇒ Object
- .api_secret ⇒ Object
- .api_secret=(val) ⇒ Object
- .redirect_uri ⇒ Object
- .redirect_uri=(val) ⇒ Object
Class Method Details
.api_key ⇒ Object
9 10 11 |
# File 'lib/weibo_focus/config.rb', line 9 def self.api_key @@api_key end |
.api_key=(val) ⇒ Object
5 6 7 |
# File 'lib/weibo_focus/config.rb', line 5 def self.api_key=(val) @@api_key = val end |
.api_secret ⇒ Object
17 18 19 |
# File 'lib/weibo_focus/config.rb', line 17 def self.api_secret @@api_secret end |
.api_secret=(val) ⇒ Object
13 14 15 |
# File 'lib/weibo_focus/config.rb', line 13 def self.api_secret=(val) @@api_secret = val end |
.redirect_uri ⇒ Object
25 26 27 |
# File 'lib/weibo_focus/config.rb', line 25 def self.redirect_uri @@redirect_uri end |
.redirect_uri=(val) ⇒ Object
21 22 23 |
# File 'lib/weibo_focus/config.rb', line 21 def self.redirect_uri=(val) @@redirect_uri = val end |