pastebinner/config/configuration.rb

8 lines
321 B
Ruby

# ideally i want to have a configuration block like this loaded
Pastebinner.configure do |config|
config.pastebin_username = pastebin_username
config.pastebin_password = pastebin_password
config.pastebin_api_key = pastebin_api_key
config.elastic_search_url = elastic_search_url
config.redis_url = redis_url
end