Class: Feed2Thread::Config
- Inherits:
-
Struct
- Object
- Struct
- Feed2Thread::Config
- Defined in:
- lib/feed2thread/loads_config.rb
Instance Attribute Summary collapse
-
#access_token ⇒ Object
Returns the value of attribute access_token.
-
#access_token_refreshed_at ⇒ Object
Returns the value of attribute access_token_refreshed_at.
-
#feed_url ⇒ Object
Returns the value of attribute feed_url.
-
#threads_app_id ⇒ Object
Returns the value of attribute threads_app_id.
-
#threads_app_secret ⇒ Object
Returns the value of attribute threads_app_secret.
-
#threads_user_id ⇒ Object
Returns the value of attribute threads_user_id.
Instance Method Summary collapse
Instance Attribute Details
#access_token ⇒ Object
Returns the value of attribute access_token
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def access_token @access_token end |
#access_token_refreshed_at ⇒ Object
Returns the value of attribute access_token_refreshed_at
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def access_token_refreshed_at @access_token_refreshed_at end |
#feed_url ⇒ Object
Returns the value of attribute feed_url
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def feed_url @feed_url end |
#threads_app_id ⇒ Object
Returns the value of attribute threads_app_id
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def threads_app_id @threads_app_id end |
#threads_app_secret ⇒ Object
Returns the value of attribute threads_app_secret
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def threads_app_secret @threads_app_secret end |
#threads_user_id ⇒ Object
Returns the value of attribute threads_user_id
5 6 7 |
# File 'lib/feed2thread/loads_config.rb', line 5 def threads_user_id @threads_user_id end |
Instance Method Details
#as_yaml ⇒ Object
14 15 16 |
# File 'lib/feed2thread/loads_config.rb', line 14 def as_yaml to_h.transform_keys(&:to_s).to_yaml.gsub(/^---\n/, "") end |