Class: OKCupid::AuthenticationParser
- Inherits:
-
Mechanize::Page
- Object
- Mechanize::Page
- OKCupid::AuthenticationParser
- Defined in:
- lib/lonely_coder/authentication.rb
Instance Method Summary collapse
-
#initialize(uri = nil, response = nil, body = nil, code = nil) ⇒ AuthenticationParser
constructor
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.
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 |