Skip to content

Commit

Permalink
Don't overwrite the getter methods for username and password
Browse files Browse the repository at this point in the history
  • Loading branch information
fractaledmind committed Jan 31, 2024
1 parent 709adad commit 03591db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/solid_errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03591db

Please sign in to comment.