discourse/config/initializers/onebox_options.rb

5 lines
83 B
Ruby

require_dependency 'twitter_api'
Onebox.options = {
twitter_client: TwitterApi
}