Class: TwitterJekyll::TwitterSecrets
- Inherits:
-
Struct
- Object
- Struct
- TwitterJekyll::TwitterSecrets
- Defined in:
- lib/jekyll-twitter-plugin.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret.
-
#consumer_key ⇒ Object
Returns the value of attribute consumer_key.
-
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret.
Class Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
11 12 13 |
# File 'lib/jekyll-twitter-plugin.rb', line 11 def access_token @access_token end |
#access_token_secret ⇒ Object
Returns the value of attribute access_token_secret
11 12 13 |
# File 'lib/jekyll-twitter-plugin.rb', line 11 def access_token_secret @access_token_secret end |
#consumer_key ⇒ Object
Returns the value of attribute consumer_key
11 12 13 |
# File 'lib/jekyll-twitter-plugin.rb', line 11 def consumer_key @consumer_key end |
#consumer_secret ⇒ Object
Returns the value of attribute consumer_secret
11 12 13 |
# File 'lib/jekyll-twitter-plugin.rb', line 11 def consumer_secret @consumer_secret end |
Class Method Details
.build(source, keys) ⇒ Object
12 13 14 |
# File 'lib/jekyll-twitter-plugin.rb', line 12 def self.build(source, keys) new(*source.values_at(*keys)) end |