Module: Weibo2::Config
- Defined in:
- lib/weibo2/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
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_secret ⇒ Object
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_uri ⇒ Object
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 |