From 03591dbbe28ff12a1c3767bc8b98949883929680 Mon Sep 17 00:00:00 2001 From: Stephen Margheim Date: Wed, 31 Jan 2024 16:21:15 +0100 Subject: [PATCH] Don't overwrite the getter methods for username and password --- lib/solid_errors.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/solid_errors.rb b/lib/solid_errors.rb index 453305b..c5dad89 100644 --- a/lib/solid_errors.rb +++ b/lib/solid_errors.rb @@ -7,8 +7,8 @@ module SolidErrors mattr_accessor :connects_to - mattr_accessor :username - mattr_accessor :password + mattr_writer :username + mattr_writer :password class << self # use method instead of attr_accessor to ensure