undefined local variable or method number_list (in Resources/Numbers.rb)
Closed this issue · 1 comments
binarygeek commented
While running this code:
client = Plivo::RestClient.new(@auth_id, @auth_token)
client.phone_numbers.each('US') do |obj|
puts obj.number
end
I get the following error:
undefined local variable or method number_list
which can be tracked down to the line below (seems the variable should be called phone_number_list instead):
plivo-ruby/lib/plivo/resources/numbers.rb
Line 113 in d588e2a
nixonsam commented
@binarygeek This issue has been fixed in the new release