lib/resend/request.rb in resend-0.9.0 vs lib/resend/request.rb in resend-0.10.0

- old
+ new

@@ -6,10 +6,10 @@ module Resend # This class is responsible for making the appropriate HTTP calls # and raising the specific errors based on the response. class Request - BASE_URL = "https://api.resend.com/" + BASE_URL = ENV["RESEND_BASE_URL"] || "https://api.resend.com/" attr_accessor :body, :verb def initialize(path = "", body = {}, verb = "POST") raise if Resend.api_key.nil?