Skip to content

Commit

Permalink
Fix variable assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
duduribeiro committed Jun 8, 2020
1 parent ca0c370 commit 4a7d3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dnsimple/struct/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def expires_on
# @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
@expires_at = DateTime.parse(expiration_date) if expiration_date
end
end
end
Expand Down

0 comments on commit 4a7d3a4

Please sign in to comment.