lib/redd/client/unauthenticated.rb in redd-0.1.6 vs lib/redd/client/unauthenticated.rb in redd-0.2.0

- old
+ new

@@ -50,10 +50,10 @@ # @option options [String] :api_endpoint The main domain to connect # to, in this case, the URL for reddit. def initialize(options = {}) @rate_limit = options[:rate_limit] || Redd::RateLimit.new @user_agent = options[:user_agent] || "Redd/Ruby, v#{Redd::VERSION}" - @api_endpoint = options[:api_endpoint] || "http://www.reddit.com/" + @api_endpoint = options[:api_endpoint] || "https://www.reddit.com/" end private # @return [Hash] The headers that are sent with every request.