Skip to content

Commit

Permalink
[Fix] Running standardrb --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
araluce committed Sep 17, 2024
1 parent 57e3cf1 commit a2fad7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/calendlyr/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def organization
# UsersResource.new(self)
# end
def method_missing(method_name, *args, &block)
resource_name = method_name.to_s.split('_').collect(&:capitalize).join + "Resource"
resource_name = method_name.to_s.split("_").collect(&:capitalize).join + "Resource"
if Calendlyr.const_defined?(resource_name)
Calendlyr.const_get(resource_name).new(self)
else
Expand Down

0 comments on commit a2fad7b

Please sign in to comment.