Class: Tomba::Sources
Instance Method Summary collapse
Methods inherited from Service
Constructor Details
This class inherits a constructor from Tomba::Service
Instance Method Details
#email_sources(email:) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/tomba/services/sources.rb', line 4 def email_sources(email:) if email.nil? raise Tomba::Exception.new('Missing required parameter: "email"') end path = '/email-sources/{email}' .gsub('{email}', email) params = {} return @client.call('get', path, { 'content-type' => 'application/json', }, params); end |