Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #5 from evaryont/patch-1
Use https in Google::Voice::Base#set_rnr_se_token
  • Loading branch information
Jeff Rafter committed Sep 7, 2011
2 parents 1a5c9c0 + bba4bc6 commit da7858e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/google/voice/base.rb
Expand Up @@ -95,7 +95,7 @@ def logout
end end


def set_rnr_se_token def set_rnr_se_token
@curb.url = "http://www.google.com/voice" @curb.url = "https://www.google.com/voice"
@curb.perform @curb.perform
@_rnr_se = Nokogiri::HTML::Document.parse(@curb.body_str).css('form#gc-search-form').inner_html @_rnr_se = Nokogiri::HTML::Document.parse(@curb.body_str).css('form#gc-search-form').inner_html
/value="(.+)"/.match(@_rnr_se) /value="(.+)"/.match(@_rnr_se)
Expand Down

0 comments on commit da7858e

Please sign in to comment.