lib/outreach/client.rb in outreach-0.0.2 vs lib/outreach/client.rb in outreach-0.1.0
- old
+ new
@@ -2,14 +2,12 @@
class Client
def initialize(api_token)
@api_token = api_token
end
- def prospect
- Outreach::ProspectFinder.new(request)
+ def prospects
+ Outreach::Service::Prospect.new(self)
end
-
- private
def request
Request.new(@api_token)
end
end