rails generator is not working
Closed this issue · 2 comments
GeoffTidey commented
running
rails g mangopay:install CLIENT_ID CLIENT_NAME CLIENT_EMAIL
(with correct parameters)
errors with:
"undefined method `create' for MangoPay::Client:Class"
looks like it was removed in:
cb09f62#diff-3cc42c41d9e8a81e042a4695ea2ff3bc
I'll generate it manually for now.
BTW. there's also a small spelling mistake here https://github.com/Mangopay/mangopay2-ruby-sdk/blob/master/lib/generators/mangopay/install_generator.rb#L10
it should be your not you're
GeoffTidey commented
ha just seen #79
serves me right for looking at the code
hobailey commented
Thanks for the feedback - you can not infact create clients through the SDK any longer and this must be done via the site - we'll get this script updated to avoid confusion :-)