Skip to content

Commit 3c5fffc

Browse files
committed
🐛 Make OAuth2.config attr_reader
- the hash it contains can still be modified
1 parent fd098bb commit 3c5fffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/oauth2.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module OAuth2
3232
)
3333
@config = DEFAULT_CONFIG.dup
3434
class << self
35-
attr_accessor :config
35+
attr_reader :config
3636
end
3737
def configure
3838
yield @config

0 commit comments

Comments
 (0)