Commit a8903d9c authored by Kassio Borges's avatar Kassio Borges

Remove unnecessary method_missing from Bitbucket impoters

parent e367975a
......@@ -11,13 +11,5 @@ module Bitbucket
lazy
end
def method_missing(method, *args)
return super unless self.respond_to?(method)
self.__send__(method, *args) do |item| # rubocop:disable GitlabSecurity/PublicSend
block_given? ? yield(item) : item
end
end
end
end
......@@ -35,13 +35,5 @@ module BitbucketServer
current_page + 1
end
def method_missing(method, *args)
return super unless self.respond_to?(method)
self.__send__(method, *args) do |item| # rubocop:disable GitlabSecurity/PublicSend
block_given? ? yield(item) : item
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment