lib/mls/models/account.rb in mls-0.5.7 vs lib/mls/models/account.rb in mls-0.5.8
- old
+ new
@@ -126,11 +126,10 @@
rescue MLS::Exception::Unauthorized => response
nil
end
def reset_password!(email)
- MLS.put('/account/reset_password', {:email => email}, 400) do |response, code|
- MLS::Account::Parser.update(self, response.body)
+ MLS.put('/account/reset_password', {:email => email}, 400, 404) do |response, code|
code == 200
end
end
def update_password!(params_hash)