From 9eb5cfa8f3dbaa02342bd7445e78e6504d573fa0 Mon Sep 17 00:00:00 2001 From: Cadu Ribeiro Date: Mon, 8 Jun 2020 14:38:02 -0300 Subject: [PATCH] Remove warn in the setter --- lib/dnsimple/struct/domain.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dnsimple/struct/domain.rb b/lib/dnsimple/struct/domain.rb index 9a8f7eed..52f19e50 100644 --- a/lib/dnsimple/struct/domain.rb +++ b/lib/dnsimple/struct/domain.rb @@ -47,7 +47,6 @@ def expires_on # @deprecated Please use #expires_at= instead. # @param expiration_date The date the domain will expire def expires_on=(expiration_date) - warn "[DEPRECATION] Domain#expires_on= is deprecated. Please use `expires_at=` instead." @expires_at = DateTime.parse(expiration_date) if expiration_date end end