Closed martron closed 3 years ago
Addresses the issue "undefined method `data' for []:Array #178" by making sure signing_secrets is set to nil if signing_secret=(nil) is called instead of Array(nil) which returns an empty array.
Note that I didn't use a guard clause because signing_secret = nil should still be able to set it to nil if it was previously set to something else.
signing_secret = nil
Looks good to me, thanks for the PR!
Addresses the issue "undefined method `data' for []:Array #178" by making sure signing_secrets is set to nil if signing_secret=(nil) is called instead of Array(nil) which returns an empty array.