lib/mailersend/tokens/tokens.rb in mailersend-ruby-1.0.0 vs lib/mailersend/tokens/tokens.rb in mailersend-ruby-1.0.1

- old
+ new

@@ -21,23 +21,20 @@ json = { 'name' => name, 'scopes' => scopes, 'domain_id' => domain_id } - response = client.http.post("#{API_URL}/token", json: json) - puts response + client.http.post("#{API_URL}/token", json: json) end def update(token_id:, status:) status = { status: status } - response = client.http.put("#{API_URL}/token/#{token_id}/settings", json: status) - puts response + client.http.put("#{API_URL}/token/#{token_id}/settings", json: status) end def delete(token_id:) - response = client.http.delete("#{API_URL}/token/#{token_id}") - puts response + client.http.delete("#{API_URL}/token/#{token_id}") end end end