Skip to content

Commit 203ce80

Browse files
committed
Fix more instance variable not initialized warnings
Since EntryPoint does not call Link#initialize, we must make sure to initialize all of Link's instance variables to avoid any warnings.
1 parent 9d8bd04 commit 203ce80

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/hyperclient/entry_point.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def initialize(url, &_block)
4141
@options = { async: true }
4242
@connection = nil
4343
@resource = nil
44+
@key = nil
45+
@uri_variables = nil
4446
yield self if block_given?
4547
end
4648

0 commit comments

Comments
 (0)