mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
11 lines
344 B
Ruby
11 lines
344 B
Ruby
|
class Feed
|
||
|
mattr_accessor :twitter do
|
||
|
Twitter::REST::Client.new do |config|
|
||
|
config.consumer_key = ENV['TWITTER_CONSUMER_KEY']
|
||
|
config.consumer_secret = ENV['TWITTER_CONSUMER_SECRET']
|
||
|
config.access_token = ENV['TWITTER_ACCESS_TOKEN']
|
||
|
config.access_token_secret = ENV['TWITTER_ACCESS_TOKEN_SECRET']
|
||
|
end
|
||
|
end
|
||
|
end
|