lib/mailersend/recipients/recipients.rb in mailersend-ruby-1.0.0 vs lib/mailersend/recipients/recipients.rb in mailersend-ruby-1.0.1
- old
+ new
@@ -19,21 +19,18 @@
hash = {
'page' => page,
'limit' => limit
}
- response = client.http.get(URI::HTTPS.build(host: API_BASE_HOST, path: '/v1/recipients',
- query: URI.encode_www_form(hash)))
- puts response
+ client.http.get(URI::HTTPS.build(host: API_BASE_HOST, path: '/v1/recipients',
+ query: URI.encode_www_form(hash)))
end
def single(recipient_id:)
- response = client.http.get("#{API_URL}/recipients/#{recipient_id}")
- puts response
+ client.http.get("#{API_URL}/recipients/#{recipient_id}")
end
def delete(recipient_id:)
- response = client.http.delete("#{API_URL}/recipients/#{recipient_id}")
- puts response
+ client.http.delete("#{API_URL}/recipients/#{recipient_id}")
end
end
end