ArgumentError: wrong number of arguments (given 2, expected 1)
from .rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rotp-4.0.2/lib/rotp/totp.rb:17:in `at'
It seems that version of active_model_otp gem on rubygems.org is outdated and not in sync with master branch on github. Can you please bump the version to 1.3.0?
To reproduce:
bundle update
call [model name].otp_code
response:
ArgumentError: wrong number of arguments (given 2, expected 1) from .rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rotp-4.0.2/lib/rotp/totp.rb:17:in `at'