lib/mls/models/account.rb in mls-0.2.17 vs lib/mls/models/account.rb in mls-0.2.18
- old
+ new
@@ -143,9 +143,14 @@
def search(terms)
response = MLS.get('/account/search', :query => terms)
MLS::Account::Parser.parse_collection(response.body)
end
+ def find(id)
+ response = MLS.get("/account/find", :id => id)
+ MLS::Account::Parser.parse(response.body)
+ end
+
end
end
class MLS::Account::Parser < MLS::Parser