Class: Outreach::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/outreach/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(api_token) ⇒ Client

Returns a new instance of Client.



3
4
5
# File 'lib/outreach/client.rb', line 3

def initialize(api_token)
  @api_token = api_token
end

Instance Method Details

#prospectsObject



7
8
9
# File 'lib/outreach/client.rb', line 7

def prospects
  Outreach::Service::Prospect.new(self)
end

#requestObject



11
12
13
# File 'lib/outreach/client.rb', line 11

def request
  Request.new(@api_token)
end