Class: OKCupid::AuthenticationParser

Inherits:
Mechanize::Page
  • Object
show all
Defined in:
lib/lonely_coder/authentication.rb

Instance Method Summary collapse

Constructor Details

#initialize(uri = nil, response = nil, body = nil, code = nil) ⇒ AuthenticationParser

We’re only using page uri to determine successful login, so there’s not a lot of value in passing a body string to nokogiri



45
46
47
# File 'lib/lonely_coder/authentication.rb', line 45

def initialize(uri = nil, response = nil, body = nil, code =nil)
  super(uri, response, '', code)
end