Skip to content

Commit 280b019

Browse files
author
julianfoo
committed
Fixed typo in Resources respond_to_missing? method
1 parent bade516 commit 280b019

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tweetkit/response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def method_missing(method, **args)
4444
end
4545

4646
def respond_to_missing?(method, *args)
47-
Set.include?(method.to_s) || super
47+
VALID_RESOURCES.include?(method.to_s) || super
4848
end
4949

5050
class Resource

0 commit comments

Comments
 (0)