Commit 6efe6eb8 authored by Sergey Gernyak's avatar Sergey Gernyak

Fix hidden bug with keep_if :neckbeard:

parent 0e216957
......@@ -38,7 +38,7 @@ module BetfairApiNgRails
private
def allow_data
@_allow_data ||= ALLOWED_RESOURCES.keep_if do |k, v|
@_allow_data ||= ALLOWED_RESOURCES.select do |k, v|
v.include? name
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